================
@@ -149,6 +149,7 @@ void SPIRV::Linker::ConstructJob(Compilation &C, const 
JobAction &JA,
   ArgStringList CmdArgs;
   AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA);
 
+  CmdArgs.push_back("--allow-partial-linkage");
----------------
sarnex wrote:

I don't think it's right to do this in general, can you try to restrict the 
change to only do this if we're openmp offloading? if you get stuck trying to 
detect that here let me know

https://github.com/llvm/llvm-project/pull/181263
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to