diff options
author | Dimitry Andric <dimitry@andric.com> | 2020-02-06 23:18:19 +0100 |
---|---|---|
committer | Dimitry Andric <dimitry@andric.com> | 2020-02-10 19:21:19 +0100 |
commit | 92e267a94dc4272511be674062f8a3e8897b7083 (patch) | |
tree | a90a025034a2e0f137412ee63bb24a1b13134429 /llvm/lib/Analysis/LoopCacheAnalysis.cpp | |
parent | eaeb5610ced23404f2c799d6e0c46c05f06ac3b5 (diff) | |
download | llvm-92e267a94dc4272511be674062f8a3e8897b7083.zip llvm-92e267a94dc4272511be674062f8a3e8897b7083.tar.gz llvm-92e267a94dc4272511be674062f8a3e8897b7083.tar.bz2 |
[Sanitizers] Get link map on FreeBSD via documented API
Summary:
Instead of hand-crafting an offset into the structure returned by
dlopen(3) to get at the link map, use the documented API. This is
described in dlinfo(3): by calling it with `RTLD_DI_LINKMAP`, the
dynamic linker ensures the right address is returned.
Reviewers: devnexen, emaste, MaskRay, krytarowski
Reviewed By: krytarowski
Subscribers: krytarowski, vitalybuka, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D73990
Diffstat (limited to 'llvm/lib/Analysis/LoopCacheAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions