forked from OSchip/llvm-project
[ASan] Temporary disable UAR unit test on Android due to https://code.google.com/p/address-sanitizer/issues/detail?id=222
llvm-svn: 190667
This commit is contained in:
parent
9583b87077
commit
70c93d3b1c
|
@ -36,9 +36,9 @@ set(ASAN_UNITTEST_COMMON_CFLAGS
|
||||||
-Wall
|
-Wall
|
||||||
-Wno-format
|
-Wno-format
|
||||||
-Werror
|
-Werror
|
||||||
|
-Werror=sign-compare
|
||||||
-g
|
-g
|
||||||
-O2
|
-O2)
|
||||||
)
|
|
||||||
|
|
||||||
if(ASAN_TESTS_USE_ZERO_BASE_SHADOW)
|
if(ASAN_TESTS_USE_ZERO_BASE_SHADOW)
|
||||||
list(APPEND ASAN_UNITTEST_COMMON_CFLAGS -fPIE)
|
list(APPEND ASAN_UNITTEST_COMMON_CFLAGS -fPIE)
|
||||||
|
@ -127,9 +127,9 @@ set_target_properties(AsanUnitTests PROPERTIES FOLDER "ASan unit tests")
|
||||||
add_custom_target(AsanBenchmarks)
|
add_custom_target(AsanBenchmarks)
|
||||||
set_target_properties(AsanBenchmarks PROPERTIES FOLDER "Asan benchmarks")
|
set_target_properties(AsanBenchmarks PROPERTIES FOLDER "Asan benchmarks")
|
||||||
|
|
||||||
if (NOT APPLE)
|
if (NOT APPLE AND NOT ANDROID)
|
||||||
# Do not build asan_fake_stack_test.cc on OS X, since it requires exposing
|
# Do not build asan_fake_stack_test.cc on OS X and Android, since it requires
|
||||||
# additional functions from the runtime.
|
# exposing additional functions from the runtime.
|
||||||
# See also https://code.google.com/p/address-sanitizer/issues/detail?id=222
|
# See also https://code.google.com/p/address-sanitizer/issues/detail?id=222
|
||||||
set(ASAN_NOINST_TEST_SOURCES
|
set(ASAN_NOINST_TEST_SOURCES
|
||||||
asan_fake_stack_test.cc
|
asan_fake_stack_test.cc
|
||||||
|
|
Loading…
Reference in New Issue