Extend the local pool allocation support to posix_memalign.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 18837 Build 18837: arc lint + arc unit
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 | 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 | Ok. |
compiler-rt/lib/asan/asan_malloc_linux.cc | ||
---|---|---|
171 | While you're here, please remove this printf too. |
While you're here, please remove this printf too.