[compiler-rt] Reland "[rtsan] Intercept aligned_alloc on all versions of OSX if available on the build machine" (PR #114153)

Chris Apple via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 16:50:41 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"
----------------
cjappl wrote:

Good suggestion, added a more succinct version but kept the spirit of it alive.

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


More information about the llvm-commits mailing list