================
@@ -632,6 +632,8 @@ void amdgpu::Linker::ConstructJob(Compilation &C, const 
JobAction &JA,
         Args.MakeArgString("-plugin-opt=-mattr=" + llvm::join(Features, ",")));
   }
 
+  getToolChain().addProfileRTLibs(Args, CmdArgs);
----------------
jhuber6 wrote:

Changed the linker-wrapper code to only forward the profiling flag if the user 
has it present for that toolchain. It means the cross-compiling toolchains get 
to behave like normal and we only inject this in the offloading path.

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

Reply via email to