diff options
author | Alexander Potapenko <glider@google.com> | 2013-01-21 14:49:55 +0000 |
---|---|---|
committer | Alexander Potapenko <glider@google.com> | 2013-01-21 14:49:55 +0000 |
commit | 8c745fc58d8aca66db1170b1cdbbc0a7743c20a0 (patch) | |
tree | 0be24e19e818144b1acac24339bb6bc4fab05124 /lib/asan/tests/CMakeLists.txt | |
parent | d0b1d4605b05b744480f0ca54f996578ca216cf8 (diff) | |
download | compiler-rt-8c745fc58d8aca66db1170b1cdbbc0a7743c20a0.tar.gz |
[ASan] Move Mac-specific tests to asan_mac_test.cc
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/tests/CMakeLists.txt')
-rw-r--r-- | lib/asan/tests/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/asan/tests/CMakeLists.txt b/lib/asan/tests/CMakeLists.txt index f8ded289e..0d5c6bd76 100644 --- a/lib/asan/tests/CMakeLists.txt +++ b/lib/asan/tests/CMakeLists.txt @@ -140,7 +140,9 @@ macro(add_asan_tests_for_arch arch) asan_compile(ASAN_INST_TEST_OBJECTS asan_test.cc ${arch} ${ASAN_UNITTEST_INSTRUMENTED_CFLAGS}) if (APPLE) - asan_compile(ASAN_INST_TEST_OBJECTS asan_mac_test.mm ${arch} + asan_compile(ASAN_INST_TEST_OBJECTS asan_mac_test.cc ${arch} + ${ASAN_UNITTEST_INSTRUMENTED_CFLAGS}) + asan_compile(ASAN_INST_TEST_OBJECTS asan_mac_test_helpers.mm ${arch} ${ASAN_UNITTEST_INSTRUMENTED_CFLAGS} -ObjC) endif() # Uninstrumented tests. |