[PATCH] D38600: [LSan] Detect dynamic loader by its base address.

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 14:25:19 PDT 2017


alekseyshl created this revision.
Herald added subscribers: kristof.beyls, kubamracek, aemerson.

Relanding https://reviews.llvm.org/D33859, which was reverted because it has "broken LOTS of
ARM/AArch64 bots for two days".

If it breaks something again, please provide some pointers to broken
bots, not just revert it, otherwise it's very hard to reason what's
wrong with this commit.

Whenever possible (Linux + glibc 2.16+), detect dynamic loader module by
its base address, not by the module name matching. The current name
matching approach fails on some configurations.


https://reviews.llvm.org/D38600

Files:
  lib/lsan/lsan_common.cc
  lib/lsan/lsan_common_linux.cc
  lib/sanitizer_common/sanitizer_linux.cc
  lib/sanitizer_common/sanitizer_platform.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38600.117896.patch
Type: text/x-patch
Size: 3775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171005/51f8a100/attachment.bin>


More information about the llvm-commits mailing list