summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-09-13 08:07:21 +0000
committerAlexey Samsonov <samsonov@google.com>2013-09-13 08:07:21 +0000
commit70c93d3b1cedd9524217bb6e1ab1a537b729c81e (patch)
tree900dea5474605757fb53b50629af1c553ccaacfa
parent9583b87077f2e1ae1ff7744ccaa48189dd3e2268 (diff)
downloadbcm5719-llvm-70c93d3b1cedd9524217bb6e1ab1a537b729c81e.tar.gz
bcm5719-llvm-70c93d3b1cedd9524217bb6e1ab1a537b729c81e.zip
[ASan] Temporary disable UAR unit test on Android due to https://code.google.com/p/address-sanitizer/issues/detail?id=222
llvm-svn: 190667
-rw-r--r--compiler-rt/lib/asan/tests/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler-rt/lib/asan/tests/CMakeLists.txt b/compiler-rt/lib/asan/tests/CMakeLists.txt
index 5e36416473f..ffe16147572 100644
--- a/compiler-rt/lib/asan/tests/CMakeLists.txt
+++ b/compiler-rt/lib/asan/tests/CMakeLists.txt
@@ -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 PROPERTIES FOLDER "ASan unit tests")
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
OpenPOWER on IntegriCloud