Extend the local pool allocation support to posix_memalign.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Are you solving a particular problem or you're just anticipating one?
compiler-rt/lib/asan/asan_malloc_linux.cc | ||
---|---|---|
175 ↗ | (On Diff #149492) | Let's do it for all platforms, for simplicity and match the malloc implementation. |
Comment Actions
It's a problem I encountered on RTEMS, where we use this memory for a different purpose. See https://reviews.llvm.org/D46465.
compiler-rt/lib/asan/asan_malloc_linux.cc | ||
---|---|---|
175 ↗ | (On Diff #149492) | Ok. |
compiler-rt/lib/asan/asan_malloc_linux.cc | ||
---|---|---|
195 ↗ | (On Diff #149546) | While you're here, please remove this printf too. |