From 0f0a50da56dae4a219aee55b17bc71f5079b01a4 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Wed, 3 Oct 2012 15:09:17 +0000 Subject: [PATCH] Set ASAN_NEEDS_SEGV=0 on Android only. llvm-svn: 165120 --- compiler-rt/lib/asan/asan_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/asan/asan_internal.h b/compiler-rt/lib/asan/asan_internal.h index 652ac21..f9a6149 100644 --- a/compiler-rt/lib/asan/asan_internal.h +++ b/compiler-rt/lib/asan/asan_internal.h @@ -62,7 +62,7 @@ // If set, asan will install its own SEGV signal handler. #ifndef ASAN_NEEDS_SEGV -# ifdef ASAN_ANDROID +# if ASAN_ANDROID == 1 # define ASAN_NEEDS_SEGV 0 # else # define ASAN_NEEDS_SEGV 1 -- 2.7.4