[compiler-rt] r202359 - [asan] Don't disable SEGV handler on Android by default.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Thu Feb 27 00:23:00 PST 2014
Author: eugenis
Date: Thu Feb 27 02:23:00 2014
New Revision: 202359
URL: http://llvm.org/viewvc/llvm-project?rev=202359&view=rev
Log:
[asan] Don't disable SEGV handler on Android by default.
This is done mostly for consistency, because this setting is normally overridden in cmake.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h?rev=202359&r1=202358&r2=202359&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h Thu Feb 27 02:23:00 2014
@@ -36,11 +36,7 @@
// If set, the tool will install its own SEGV signal handler.
#ifndef SANITIZER_NEEDS_SEGV
-# if SANITIZER_ANDROID == 1
-# define SANITIZER_NEEDS_SEGV 0
-# else
-# define SANITIZER_NEEDS_SEGV 1
-# endif
+# define SANITIZER_NEEDS_SEGV 1
#endif
// GCC does not understand __has_feature
More information about the llvm-commits
mailing list