================
@@ -1035,15 +1035,15 @@ RocmInstallationDetector::getCommonBitcodeLibs(
   };
   auto AddSanBCLibs = [&]() {
     if (Pref.GPUSan)
-      AddBCLib(getAsanRTLPath(), false);
+      AddBCLib(getAsanRTLPath());
   };
 
   AddSanBCLibs();
   AddBCLib(getOCMLPath());
   if (!Pref.IsOpenMP)
     AddBCLib(getOCKLPath());
   else if (Pref.GPUSan && Pref.IsOpenMP)
-    AddBCLib(getOCKLPath(), false);
+    AddBCLib(getOCKLPath());
----------------
ampandey-1995 wrote:

The first old previous PR 
[179636](https://github.com/llvm/llvm-project/pull/179636) will only introduce 
changes like removing the forced linking of `asanrtl.bc` and `ockl.bc` for 
OpenMP only and add support in the driver to link the openmp asan instrumented 
GPU device library(i.e libompdevice.a with asan symbols).  Hope this clears 
everything.
 

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

Reply via email to