[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:25:21 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:

sorry, for my education: i meant the dynamic loader, does that just ignore unknown symbols (as it would for ELF if they are weak?)

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


More information about the llvm-commits mailing list