[compiler-rt] [sanitizer] Disable writes to log files for binaries in a secure context. (PR #92593)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 14:42:11 PDT 2024
================
@@ -19,6 +19,13 @@
#include "sanitizer_common.h"
#include "sanitizer_file.h"
+
+#if SANITIZER_LINUX || (SANITIZER_ANDROID && __ANDROID_API__ >= 18)
----------------
fmayer wrote:
Actually, I am not sure this works. Wouldn't `SANITIZER_LINUX` also be true for Android? I think we can just drop the Android bit, as ASan wasn't supported at API level 18 anyway.
https://github.com/llvm/llvm-project/pull/92593
More information about the llvm-commits
mailing list