[compiler-rt] r200319 - [ASan] Reinstate ASAN_LOW_MEMORY, which has nothing to do with signal handling and thus should not be moved to common.
Alexander Potapenko
glider at google.com
Tue Jan 28 06:17:16 PST 2014
Author: glider
Date: Tue Jan 28 08:17:16 2014
New Revision: 200319
URL: http://llvm.org/viewvc/llvm-project?rev=200319&view=rev
Log:
[ASan] Reinstate ASAN_LOW_MEMORY, which has nothing to do with signal handling and thus should not be moved to common.
Modified:
compiler-rt/trunk/lib/asan/CMakeLists.txt
compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt
Modified: compiler-rt/trunk/lib/asan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/CMakeLists.txt?rev=200319&r1=200318&r2=200319&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/asan/CMakeLists.txt Tue Jan 28 08:17:16 2014
@@ -37,6 +37,11 @@ endif()
set(ASAN_COMMON_DEFINITIONS
ASAN_HAS_EXCEPTIONS=1)
+if(ANDROID)
+ list(APPEND ASAN_COMMON_DEFINITIONS
+ ASAN_LOW_MEMORY=1)
+endif()
+
# Architectures supported by ASan.
filter_available_targets(ASAN_SUPPORTED_ARCH
x86_64 i386 powerpc64)
Modified: compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt?rev=200319&r1=200318&r2=200319&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/sanitizer_common/CMakeLists.txt Tue Jan 28 08:17:16 2014
@@ -77,8 +77,7 @@ set(SANITIZER_COMMON_DEFINITIONS)
if(ANDROID)
list(APPEND SANITIZER_COMMON_DEFINITIONS
- SANITIZER_NEEDS_SEGV=0
- SANITIZER_LOW_MEMORY=1)
+ SANITIZER_NEEDS_SEGV=0)
elseif(MSVC)
list(APPEND SANITIZER_COMMON_DEFINITIONS
SANITIZER_NEEDS_SEGV=0)
More information about the llvm-commits
mailing list