[compiler-rt] r190667 - [ASan] Temporary disable UAR unit test on Android due to https://code.google.com/p/address-sanitizer/issues/detail?id=222

Alexey Samsonov samsonov at google.com
Fri Sep 13 01:07:22 PDT 2013


Author: samsonov
Date: Fri Sep 13 03:07:21 2013
New Revision: 190667

URL: http://llvm.org/viewvc/llvm-project?rev=190667&view=rev
Log:
[ASan] Temporary disable UAR unit test on Android due to https://code.google.com/p/address-sanitizer/issues/detail?id=222

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=190667&r1=190666&r2=190667&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/asan/tests/CMakeLists.txt Fri Sep 13 03:07:21 2013
@@ -36,9 +36,9 @@ set(ASAN_UNITTEST_COMMON_CFLAGS
   -Wall
   -Wno-format
   -Werror
+  -Werror=sign-compare
   -g
-  -O2
-)
+  -O2)
 
 if(ASAN_TESTS_USE_ZERO_BASE_SHADOW)
   list(APPEND ASAN_UNITTEST_COMMON_CFLAGS -fPIE)
@@ -127,9 +127,9 @@ set_target_properties(AsanUnitTests PROP
 add_custom_target(AsanBenchmarks)
 set_target_properties(AsanBenchmarks PROPERTIES FOLDER "Asan benchmarks")
 
-if (NOT APPLE)
-# Do not build asan_fake_stack_test.cc on OS X, since it requires exposing
-# additional functions from the runtime.
+if (NOT APPLE AND NOT ANDROID)
+# Do not build asan_fake_stack_test.cc on OS X and Android, since it requires
+# exposing additional functions from the runtime.
 # See also https://code.google.com/p/address-sanitizer/issues/detail?id=222
 set(ASAN_NOINST_TEST_SOURCES
   asan_fake_stack_test.cc





More information about the llvm-commits mailing list