[compiler-rt] [sanitizer_common] Implement interception on AIX (2/3) (PR #138606)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed May 7 11:06:23 PDT 2025


================
@@ -480,7 +480,7 @@ INTERCEPTOR(char*, textdomain, const char *domainname) {
 #define INIT_TEXTDOMAIN
 #endif
 
-#if SANITIZER_INTERCEPT_STRCMP || SANITIZER_INTERCEPT_MEMCMP
+#if SANITIZER_INTERCEPT_MEMCMP
----------------
vitalybuka wrote:

[[maybe_unused]]?

This way we will at leas compile the code on platform where it's disabled - can catch compilation breckages earlies.

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


More information about the llvm-commits mailing list