diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2017-11-10 22:09:37 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-11-10 22:09:37 +0000 |
commit | 0f43b92980b66b19f03779c5a9b701e377b67e08 (patch) | |
tree | eaa1b364cac701e816a47781093c3ce0a3a87a4c /clang/lib/Serialization/ModuleManager.cpp | |
parent | ada45dfde709b958c9fbed586e6ead45d0cd1c40 (diff) | |
download | llvm-0f43b92980b66b19f03779c5a9b701e377b67e08.zip llvm-0f43b92980b66b19f03779c5a9b701e377b67e08.tar.gz llvm-0f43b92980b66b19f03779c5a9b701e377b67e08.tar.bz2 |
sanitizer_common: Try looking up symbols with RTLD_DEFAULT if RTLD_NEXT does not work.
If the lookup using RTLD_NEXT failed, the sanitizer runtime library
is later in the library search order than the DSO that we are trying
to intercept, which means that we cannot intercept this function. We
still want the address of the real definition, though, so look it up
using RTLD_DEFAULT.
Differential Revision: https://reviews.llvm.org/D39779
llvm-svn: 317930
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions