llvm-project/compiler-rt/lib
Mitch Phillips 05bc1468c2 Fix stack_trace_compressor builds for Clang < 6.0
Summary:
Clang 4.* doesn't supply -fsanitize=fuzzer, and Clang 5.* doesn't supply
-fsanitize=fuzzer-no-link. Generally, in LLVM, fuzz targets are added through
the add_llvm_fuzzer build rule, which can't be used in compiler-rt (as it has
to be able to be standalone built).

Instead of adding tooling to add a dummy main (which kind of defeats the
purpose of these fuzz targets), we instead build the fuzz target only when the
Clang version is >= 6.*.

Reviewers: tejohnson

Subscribers: mgorny, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

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

llvm-svn: 369823
2019-08-23 23:13:18 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [Sanitizer] checks ASLR on FreeBSD 2019-08-22 21:36:35 +00:00
builtins Move a break into the correct place. NFCI. 2019-08-23 21:27:56 +00:00
cfi Improve error message when '=' is missing in {ASAN,...}_OPTIONS. 2019-06-15 01:37:14 +00:00
crt [compiler-rt][crt] Pass -fno-lto in check_cxx_section_exists 2019-08-20 07:41:14 +00:00
dfsan compiler-rt: Rename .cc file in test/dfsan to cpp 2019-08-05 13:19:28 +00:00
fuzzer LibFuzzer support for 32bit MSVC 2019-08-22 20:44:34 +00:00
gwp_asan Fix stack_trace_compressor builds for Clang < 6.0 2019-08-23 23:13:18 +00:00
hwasan hwasan: Untag unwound stack frames by wrapping personality functions. 2019-08-23 01:28:44 +00:00
interception compiler-rt: Rename .cc file in lib/{interception/tests,safestack} to .cpp 2019-08-01 13:56:52 +00:00
lsan Revert r369472 and r369441 2019-08-21 05:06:21 +00:00
msan [Sanitizer] checks ASLR on FreeBSD 2019-08-22 21:36:35 +00:00
profile compiler-rt: Fix warning if COMPILER_RT_HAS_FCNTL_LCK is 0 2019-08-21 15:24:25 +00:00
safestack compiler-rt: Rename .cc file in lib/{interception/tests,safestack} to .cpp 2019-08-01 13:56:52 +00:00
sanitizer_common [sanitizer] Resubmit D66620 from monorepo 2019-08-22 23:34:08 +00:00
scudo [scudo][standalone] Fix malloc_iterate 2019-08-20 16:17:08 +00:00
stats compiler-rt: Rename .cc file in lib/{dfsan,stats,ubsan_minimal} to .cpp 2019-08-01 12:41:23 +00:00
tsan [TSan] #include header instead of forward declaring interceptees 2019-08-21 23:42:06 +00:00
ubsan Remove a few straggler ".cc"s in compiler-rt/lib 2019-08-01 17:53:25 +00:00
ubsan_minimal compiler-rt: Rename .cc file in lib/{dfsan,stats,ubsan_minimal} to .cpp 2019-08-01 12:41:23 +00:00
xray Re-land "[compiler-rt] Migrate llvm::make_unique to std::make_unique" 2019-08-15 14:57:44 +00:00
CMakeLists.txt Reland "[compiler-rt] Simple crtbegin.o and crtend.o implementation" 2019-04-30 18:13:22 +00:00