[compiler-rt] 05bfe73 - [compiler-rt] Address dlvsym not found compilation error when targeting certain platforms (try 2) (#191458)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 09:50:57 PDT 2026
Author: google-yfyang
Date: 2026-04-10T12:50:53-04:00
New Revision: 05bfe73bf6b5311f01503d81996d1e714c6cce81
URL: https://github.com/llvm/llvm-project/commit/05bfe73bf6b5311f01503d81996d1e714c6cce81
DIFF: https://github.com/llvm/llvm-project/commit/05bfe73bf6b5311f01503d81996d1e714c6cce81.diff
LOG: [compiler-rt] Address dlvsym not found compilation error when targeting certain platforms (try 2) (#191458)
The previous attempt #191444 was incomplete.
Added:
Modified:
compiler-rt/lib/interception/interception_linux.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/interception/interception_linux.cpp b/compiler-rt/lib/interception/interception_linux.cpp
index c997cc452256a..5919f8c813f28 100644
--- a/compiler-rt/lib/interception/interception_linux.cpp
+++ b/compiler-rt/lib/interception/interception_linux.cpp
@@ -24,7 +24,9 @@
# pragma weak dlopen
# pragma weak dlsym
+#if SANITIZER_GLIBC || SANITIZER_FREEBSD || SANITIZER_NETBSD
# pragma weak dlvsym
+#endif
namespace __interception {
More information about the llvm-commits
mailing list