aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMaxim Ostapenko <chefmax7@gmail.com>2017-03-09 10:47:38 +0000
committerMaxim Ostapenko <chefmax7@gmail.com>2017-03-09 10:47:38 +0000
commit76630d43f6081c657ac5be2406061d43334045dd (patch)
tree9cd4a6df15e486f58ff41a9cbbd831001adb7aec /clang/lib/Frontend/CompilerInvocation.cpp
parent49b112fcce76957581228a874a3cbf4ab62be579 (diff)
downloadllvm-76630d43f6081c657ac5be2406061d43334045dd.zip
llvm-76630d43f6081c657ac5be2406061d43334045dd.tar.gz
llvm-76630d43f6081c657ac5be2406061d43334045dd.tar.bz2
[sanitizer] Bail out with warning if user dlopens shared library with RTLD_DEEPBIND flag
People keep hitting on spurious failures in malloc/free routines when using sanitizers with shared libraries dlopened with RTLD_DEEPBIND (see https://github.com/google/sanitizers/issues/611 for details). Let's check for this flag and bail out with warning message instead of failing in random places. Differential Revision: https://reviews.llvm.org/D30504 llvm-svn: 297370
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions