[compiler-rt] r321677 - [asan] Restore asan_device_setup compatibility with older libraries.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 13:35:23 PST 2018
Date: Tue Jan 2 13:35:23 2018
New Revision: 321677
[asan] Restore asan_device_setup compatibility with older libraries.
This way new asan_device_setup, which knows about the quirks of
recent releases of Android, can be used with older ASan runtime
library (say, from an NDK release). The library is version locked to
the compiler, and is often hard or impossible to update.
Subscribers: srhines, kubamracek, llvm-commits
Differential Revision: https://reviews.llvm.org/D41679
--- compiler-rt/trunk/lib/asan/scripts/asan_device_setup (original)
+++ compiler-rt/trunk/lib/asan/scripts/asan_device_setup Tue Jan 2 13:35:23 2018
@@ -336,6 +336,13 @@ exec $_to \$@
+# On Android-L not allowing user segv handler breaks some applications.
+# Since ~May 2017 this is the default setting; included for compatibility with
+# older library versions.
+if [[ PRE_L -eq 0 ]]; then
if [[ x$extra_options != x ]] ; then
More information about the llvm-commits