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

Mariusz Borsa via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 16:51:13 PDT 2024


wrotki wrote:

Here goes:

`llvm-project/compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp:475:21: error: 'aligned_alloc' is only available on macOS 10.15 or newer [-Werror,-Wunguarded-availability-new]
  475 | INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) {`

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


More information about the llvm-commits mailing list