This moves the platform-specific parameter logic from asan into
sanitizer_common so lsan can reuse it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/lsan/lsan_allocator.h | ||
---|---|---|
65–66 | I suspect this is not going to work on aarch64 with 39-bit address space. |
compiler-rt/lib/lsan/lsan_allocator.h | ||
---|---|---|
65–66 | I refactored to just cleanly share these settings between lsan and asan allocator setups directly via sanitizer_common/sanitizer_allocator.h. Now all of the platform-specific logic from asan should be unchanged and lsan should be changed to match asan on all platforms. |
I suspect this is not going to work on aarch64 with 39-bit address space.
Could you copy the chunk from ASan with the dynamic allocator base?