[compiler-rt] [TSan] Add support for Android (PR #147580)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 06:40:30 PDT 2025


================
@@ -1287,6 +1287,14 @@ INTERCEPTOR(int, puts, char *s) {
 #if SANITIZER_INTERCEPT_PRCTL
 INTERCEPTOR(int, prctl, int option, unsigned long arg2, unsigned long arg3,
             unsigned long arg4, unsigned long arg5) {
+#  if SANITIZER_ANDROID
+  static const int PR_PAC_RESET_KEYS = 54;
----------------
enh-google wrote:

this shouldn't be needed because it's defined in the ndk?

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


More information about the llvm-commits mailing list