diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-11-06 21:27:06 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-11-06 21:27:06 +0000 |
commit | d234c1caf1fcd86a6c79a11a449d1fc58bb3646a (patch) | |
tree | bb39935b6f75750c3d12f81bad9df230203085a3 /lib/sanitizer_common/sanitizer_allocator_primary64.h | |
parent | 46ec7772ac5eaf1bda65cc3cca4f49d95e559a47 (diff) |
[LSan] Detect dynamic loader by its base address.
Summary:
Relanding D38600, which was reverted due to various PPC bot failures.
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.
Reviewers: eugenis
Subscribers: kubamracek, llvm-commits
Differential Revision: https://reviews.llvm.org/D39275
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@317512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_allocator_primary64.h')
0 files changed, 0 insertions, 0 deletions