summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-01-22 10:30:17 +0000
committerAlexey Samsonov <samsonov@google.com>2013-01-22 10:30:17 +0000
commitd7b901d58100f024a7a5712bac78891c52cfa3a2 (patch)
treebb9080604b6b9a0072d4af327b638ed4fc32cd7f
parent98d9b7e1d49e6037e425aea4fb5e99997da87437 (diff)
downloadbcm5719-llvm-d7b901d58100f024a7a5712bac78891c52cfa3a2.tar.gz
bcm5719-llvm-d7b901d58100f024a7a5712bac78891c52cfa3a2.zip
ASan: use Clang -fsanitize-blacklist flag in unit tests (instead of -mllvm)
llvm-svn: 173142
-rw-r--r--compiler-rt/lib/asan/tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/tests/CMakeLists.txt b/compiler-rt/lib/asan/tests/CMakeLists.txt
index 739519cbd3d..c3bd6aa37a1 100644
--- a/compiler-rt/lib/asan/tests/CMakeLists.txt
+++ b/compiler-rt/lib/asan/tests/CMakeLists.txt
@@ -84,7 +84,7 @@ set(ASAN_BLACKLIST_FILE "${CMAKE_CURRENT_SOURCE_DIR}/asan_test.ignore")
set(ASAN_UNITTEST_INSTRUMENTED_CFLAGS
${ASAN_UNITTEST_COMMON_CFLAGS}
-fsanitize=address
- -mllvm "-asan-blacklist=${ASAN_BLACKLIST_FILE}"
+ "-fsanitize-blacklist=${ASAN_BLACKLIST_FILE}"
-mllvm -asan-stack=1
-mllvm -asan-globals=1
-mllvm -asan-mapping-scale=0 # default will be used
OpenPOWER on IntegriCloud