[PATCH] D41679: [asan] Restore asan_device_setup compatibility with older libraries.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 13:26:22 PST 2018
eugenis created this revision.
eugenis added a reviewer: vitalybuka.
Herald added subscribers: kubamracek, srhines.
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.
@@ -336,6 +336,13 @@
+# 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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 620 bytes
Desc: not available
More information about the llvm-commits