[compiler-rt] Reland "[rtsan] Intercept aligned_alloc on all versions of OSX if available on the build machine" (PR #114153)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 29 17:44:22 PDT 2024
================
@@ -464,10 +464,13 @@ INTERCEPTOR(void *, valloc, SIZE_T size) {
}
#if SANITIZER_INTERCEPT_ALIGNED_ALLOC
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunguarded-availability-new"
----------------
fmayer wrote:
weak function without a definition is a nullptr, so it will crash when called.
https://github.com/llvm/llvm-project/pull/114153
More information about the llvm-commits
mailing list