[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
Wed Oct 30 06:31:38 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:

Let me know if that new comment works for you - I'm a newbie to weakly/strongly linked symbols, so I am open to alternate wordings if this one doesn't make sense.

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


More information about the llvm-commits mailing list