ASan: use Clang -fsanitize-blacklist flag in unit tests (instead of -mllvm)

llvm-svn: 173142
This commit is contained in:
Alexey Samsonov 2013-01-22 10:30:17 +00:00
parent 98d9b7e1d4
commit d7b901d581
1 changed files with 1 additions and 1 deletions

View File

@ -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