[compiler-rt] r297383 - [sanitizer] Fix android buildbots after r297370
Maxim Ostapenko via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 9 06:40:16 PST 2017
Author: chefmax
Date: Thu Mar 9 08:40:15 2017
New Revision: 297383
URL: http://llvm.org/viewvc/llvm-project?rev=297383&view=rev
Log:
[sanitizer] Fix android buildbots after r297370
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc?rev=297383&r1=297382&r2=297383&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc Thu Mar 9 08:40:15 2017
@@ -1461,6 +1461,7 @@ void MaybeReexec() {
void PrintModuleMap() { }
void CheckNoDeepBind(const char *filename, int flag) {
+#if !SANITIZER_ANDROID
if (flag & RTLD_DEEPBIND) {
Report(
"You are trying to dlopen a %s shared library with RTLD_DEEPBIND flag"
@@ -1471,6 +1472,7 @@ void CheckNoDeepBind(const char *filenam
filename, filename);
Die();
}
+#endif
}
uptr FindAvailableMemoryRange(uptr size, uptr alignment, uptr left_padding) {
More information about the llvm-commits
mailing list