[PATCH] D123822: [compiler-rt][lsan] Share platform allocator settings between ASan and LSan

Leonard Chan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 14:25:51 PDT 2022


leonardchan created this revision.
leonardchan added reviewers: mcgrathr, phosek, vitalybuka.
leonardchan added a project: Sanitizers.
Herald added subscribers: luke957, s.egerton, simoncook, fedor.sergeev, kristof.beyls, dberris.
Herald added a project: All.
leonardchan requested review of this revision.
Herald added subscribers: Sanitizers, pcwang-thead.

This attempts to reland D87795 <https://reviews.llvm.org/D87795> which refactors the asan allocator to use lsan settings.

This also updates LSan on aarch64 to use the 64-bit allocator instead of the 32-bit one. This depends on D123814 <https://reviews.llvm.org/D123814> landing first. Ideally, this does not affect which allocator is used for other platforms.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123822

Files:
  compiler-rt/lib/asan/asan_allocator.h
  compiler-rt/lib/lsan/lsan_allocator.h
  compiler-rt/lib/lsan/lsan_common.h
  compiler-rt/lib/sanitizer_common/sanitizer_platform.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123822.422961.patch
Type: text/x-patch
Size: 7152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220414/fcadc08c/attachment.bin>


More information about the llvm-commits mailing list