[compiler-rt] [sanitizer] Lift AsanDoesNotSupportStaticLinkage to sanitizer_common.h. NFC (PR #80948)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 16:07:31 PST 2024


================
@@ -290,6 +290,17 @@ bool SetEnv(const char *name, const char *value);
 
 u32 GetUid();
 void ReExec();
+
+#if defined(__ELF__) && !SANITIZER_FUCHSIA
----------------
MaskRay wrote:

Moved to `compiler-rt/lib/interception/interception.h` to make it clear `-static` unsupportness is an interception-related requirement.

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


More information about the llvm-commits mailing list