llvm-project/compiler-rt/test/scudo
Kostya Kortchinsky ab0d88746a [scudo] Use -fsanitize=scudo rather than --whole-archive in tests
Summary:
Tests were being run by whole-linking the static library with our test binaries.
But since `-fsanitize=scudo` landed with rL317337, we might as well change how
the tests are compiled to use it.

The only difference will be on Android, where the clang flag links in the
dynamic library instead, but the bots are already pushing
`libclang_rt.*-android.so` to the device there is no additional change needed.

Tested locally, including with a standalone build, and an Android one on a O
device, and it all passes.

Reviewers: alekseyshl

Reviewed By: alekseyshl

Subscribers: #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D42243

llvm-svn: 322882
2018-01-18 20:02:56 +00:00
..
CMakeLists.txt [scudo] Android build support 2017-09-18 15:40:53 +00:00
alignment.c [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
double-free.cpp [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
interface.cpp [scudo] Touch memory to count as RSS 2018-01-01 18:19:06 +00:00
lit.cfg [scudo] Use -fsanitize=scudo rather than --whole-archive in tests 2018-01-18 20:02:56 +00:00
lit.site.cfg.in [scudo] Additional modifications for Android tests support 2017-09-18 20:31:57 +00:00
malloc.cpp [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
memalign.c [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
mismatch.cpp [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
options.cpp [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
overflow.c [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
preinit.c [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
preload.cpp [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
quarantine.c [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
random_shuffle.cpp [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
realloc.cpp [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
rss.c [scudo] Soft and hard RSS limit checks 2017-11-15 16:40:27 +00:00
secondary.c [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
sized-delete.cpp [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
sizes.cpp [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
threads.c [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
tsd_destruction.c [scudo] Implement stricter separation of C vs C++ 2017-11-01 15:28:20 +00:00
valloc.c [scudo] Attempt to re-enable the valloc test on armhf 2018-01-04 18:35:28 +00:00