[compiler-rt] [asan] Implement interception on AIX (PR #131870)
Hubert Tong via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 10 22:03:43 PST 2025
================
@@ -31,10 +31,22 @@ void InitializePlatformInterceptors();
// really defined to replace libc functions.
#if !SANITIZER_FUCHSIA
+// AIX currently can't retrieve the address of longjmp
+# if !SANITIZER_AIX
+# define ASAN_INTERCEPT_LONGJMP 1
+# else
+# define ASAN_INTERCEPT_LONGJMP 0
+# endif
+
// Use macro to describe if specific function should be
// intercepted on a given platform.
# if !SANITIZER_WINDOWS
-# define ASAN_INTERCEPT__LONGJMP 1
+ // AIX currently can't retrieve the address of _longjmp
----------------
hubert-reinterpretcast wrote:
Add TODO comment re: `_longjmpx`.
https://github.com/llvm/llvm-project/pull/131870
More information about the llvm-commits
mailing list