[clang] [Driver][ASan] Refactor Clang-Driver "Sanitizer Bitcode" linking. (PR #123922)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 24 02:18:31 PST 2025


================
@@ -70,6 +70,10 @@ def err_drv_no_rocm_device_lib : Error<
   "cannot find ROCm device library%select{| for %1| for ABI version %1}0; provide its path via "
   "'--rocm-path' or '--rocm-device-lib-path', or pass '-nogpulib' to build "
   "without ROCm device library">;
+def err_drv_no_asan_rt_lib
+    : Error<"AMDGPU address sanitizer runtime library (asanrtl) is not found. "
+            "Please install ROCm device library which supports address "
+            "sanitizer">;
----------------
arsenm wrote:

Should cover it in the test, like all the other libraries 

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


More information about the cfe-commits mailing list