hanchenye-llvm-project/compiler-rt/test
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
..
BlocksRuntime
asan Hotfix for test/asan/TestCases/alloca_constant_size.cc 2018-01-17 12:32:17 +00:00
builtins These tests require x86 80-bit doubles. Mark them so. 2017-12-04 18:18:51 +00:00
cfi [ubsan] Re-commit: lit changes for lld testing, future lto testing. 2017-12-01 19:36:29 +00:00
dfsan [mips] XFAIL dfsan's custom.cc test on mips64. 2017-05-09 19:17:16 +00:00
esan [tsan] Update unittest for logging changes of r308637 2017-07-20 20:06:00 +00:00
fuzzer Reland "[libFuzzer] Support using libc++" 2018-01-17 20:39:14 +00:00
hwasan [hwasan] An LLVM flag to disable stack tag randomization. 2018-01-13 01:32:15 +00:00
interception Revert "[interception] Check for export table's size before referring to its elements." 2017-01-22 03:30:14 +00:00
lsan [LSan] Disable a couple of failing tests on PPC64 (pending investigation). 2017-10-27 00:29:40 +00:00
msan [MSan] Enable use-after-dtor instrumentation by default. 2018-01-10 20:27:48 +00:00
profile Hide some symbols to avoid a crash on shutdown when using code coverage 2018-01-03 11:21:30 +00:00
safestack Factor out "stable-runtime" feature and enable it on all android. 2017-10-10 23:37:26 +00:00
sanitizer_common Enable sanitizer_common tests on NetBSD 2018-01-18 11:49:45 +00:00
scudo [scudo] Use -fsanitize=scudo rather than --whole-archive in tests 2018-01-18 20:02:56 +00:00
tsan [CMake] Support runtimes and monorepo layouts when looking for libcxx 2017-12-12 01:20:52 +00:00
ubsan [Sanitizers, test] Fix sanitizer tests on Solaris (PR 33274) 2018-01-17 12:26:04 +00:00
ubsan_minimal [Sanitizers, test] Fix sanitizer tests on Solaris (PR 33274) 2018-01-17 12:26:04 +00:00
xray [XRay][compiler-rt] Coalesce calls to mprotect to reduce patching overhead 2017-12-14 02:51:20 +00:00
CMakeLists.txt Allow compiler-rt test targets to work with multi-config CMake generators 2017-11-13 12:57:54 +00:00
lit.common.cfg [Sanitizers, test] Fix sanitizer tests on Solaris (PR 33274) 2018-01-17 12:26:04 +00:00
lit.common.configured.in [ubsan] Re-commit: lit changes for lld testing, future lto testing. 2017-12-01 19:36:29 +00:00