[compiler-rt] r202033 - [asan] simplify the code that compute the shadow offset; get rid of two internal flags that allowed to override it. The tests pass, but still this change might break asan on some platform not covered by tests. If you see this, please submit a fix with a test.
Kostya Serebryany
kcc at google.com
Mon Feb 24 05:40:24 PST 2014
Author: kcc
Date: Mon Feb 24 07:40:24 2014
New Revision: 202033
URL: http://llvm.org/viewvc/llvm-project?rev=202033&view=rev
Log:
[asan] simplify the code that compute the shadow offset; get rid of two internal flags that allowed to override it. The tests pass, but still this change might break asan on some platform not covered by tests. If you see this, please submit a fix with a test.
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=202033&r1=202032&r2=202033&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/asan/tests/CMakeLists.txt Mon Feb 24 07:40:24 2014
@@ -48,8 +48,6 @@ set(ASAN_UNITTEST_INSTRUMENTED_CFLAGS
"-fsanitize-blacklist=${ASAN_BLACKLIST_FILE}"
-mllvm -asan-stack=1
-mllvm -asan-globals=1
- -mllvm -asan-mapping-scale=0 # default will be used
- -mllvm -asan-mapping-offset-log=-1 # default will be used
)
# Unit tests require libstdc++.
More information about the llvm-commits
mailing list