forked from OSchip/llvm-project
[ASan] Do not build asan_fake_stack_test.cc on OSX until https://code.google.com/p/address-sanitizer/issues/detail?id=222 is fixed.
llvm-svn: 190597
This commit is contained in:
parent
79d98a851b
commit
9caa10d0c7
|
@ -127,10 +127,20 @@ 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.
|
||||
# See also https://code.google.com/p/address-sanitizer/issues/detail?id=222
|
||||
set(ASAN_NOINST_TEST_SOURCES
|
||||
asan_fake_stack_test.cc
|
||||
asan_noinst_test.cc
|
||||
asan_test_main.cc)
|
||||
else()
|
||||
set(ASAN_NOINST_TEST_SOURCES
|
||||
asan_noinst_test.cc
|
||||
asan_test_main.cc)
|
||||
endif()
|
||||
|
||||
set(ASAN_INST_TEST_SOURCES
|
||||
asan_globals_test.cc
|
||||
asan_test.cc
|
||||
|
|
Loading…
Reference in New Issue