This is an archive of the discontinued LLVM Phabricator instance.

[LSan] Detect dynamic loader by its base address.
ClosedPublic

Authored by alekseyshl on Oct 5 2017, 2:25 PM.

Details

Summary

Relanding 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.

Diff Detail

Repository
rL LLVM

Event Timeline

alekseyshl created this revision.Oct 5 2017, 2:25 PM
eugenis accepted this revision.Oct 5 2017, 2:27 PM
This revision is now accepted and ready to land.Oct 5 2017, 2:27 PM
This revision was automatically updated to reflect the committed changes.