[compiler-rt] r199373 - [asan] Remove leftover use of -fsanitize-address-zero-base-shadow.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Thu Jan 16 03:42:40 PST 2014


Author: eugenis
Date: Thu Jan 16 05:42:40 2014
New Revision: 199373

URL: http://llvm.org/viewvc/llvm-project?rev=199373&view=rev
Log:
[asan] Remove leftover use of -fsanitize-address-zero-base-shadow.

Modified:
    compiler-rt/trunk/lib/asan/tests/CMakeLists.txt

Modified: compiler-rt/trunk/lib/asan/tests/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/CMakeLists.txt?rev=199373&r1=199372&r2=199373&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/asan/tests/CMakeLists.txt Thu Jan 16 05:42:40 2014
@@ -15,13 +15,6 @@ include(CompilerRTCompile)
 include_directories(..)
 include_directories(../..)
 
-# Use zero-based shadow on Android.
-if(ANDROID)
-  set(ASAN_TESTS_USE_ZERO_BASE_SHADOW TRUE)
-else()
-  set(ASAN_TESTS_USE_ZERO_BASE_SHADOW FALSE)
-endif()
-
 set(ASAN_UNITTEST_HEADERS
   asan_mac_test.h
   asan_test_config.h
@@ -66,10 +59,6 @@ set(ASAN_UNITTEST_INSTRUMENTED_CFLAGS
   -mllvm -asan-mapping-scale=0        # default will be used
   -mllvm -asan-mapping-offset-log=-1  # default will be used
 )
-if(ASAN_TESTS_USE_ZERO_BASE_SHADOW)
-  list(APPEND ASAN_UNITTEST_INSTRUMENTED_CFLAGS
-    -fsanitize-address-zero-base-shadow)
-endif()
 
 # Unit tests require libstdc++.
 set(ASAN_UNITTEST_COMMON_LINKFLAGS -lstdc++)





More information about the llvm-commits mailing list