[clang] [OpenMP] Enable internalization of 'ockl.bc' for OpenMP (PR #183685)

Amit Kumar Pandey via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 27 05:50:57 PST 2026


================
@@ -1043,7 +1043,7 @@ RocmInstallationDetector::getCommonBitcodeLibs(
   if (!Pref.IsOpenMP)
     AddBCLib(getOCKLPath());
   else if (Pref.GPUSan && Pref.IsOpenMP)
-    AddBCLib(getOCKLPath(), false);
+    AddBCLib(getOCKLPath());
----------------
ampandey-1995 wrote:

Yes , this special linking ockl.bc for openmp will be removed from driver in PR [179636](https://github.com/llvm/llvm-project/pull/179636). The replacement for both asanrtl.bc and ockl.bc  for openmp would be available via instrumented `libompdevice.a` in PR 179636.

For this PR to land I need to land [182825](https://github.com/llvm/llvm-project/pull/182825) first.

Could you please review that PR?

Thanks again for the approval.

https://github.com/llvm/llvm-project/pull/183685


More information about the cfe-commits mailing list