llvm-project/compiler-rt/lib
Teresa Johnson ba71a0746f [MemProf] Decouple memprof build from COMPILER_RT_BUILD_SANITIZERS
The MemProf compiler-rt support relies on some of the support only built
when COMPILER_RT_BUILD_SANITIZERS was enabled. This showed up in some
initial bot failures, and I addressed those by making the memprof
runtime build also conditional on COMPILER_RT_BUILD_SANITIZERS
(3ed77ecd0a). However, this resulted in
another inconsistency with how the tests were set up that was hit by
Chromium:
  https://bugs.chromium.org/p/chromium/issues/detail?id=1142191

Undo the original bot fix and address this with a more comprehensive fix
that enables memprof to be built even when COMPILER_RT_BUILD_SANITIZERS
is disabled, by also building the necessary pieces under
COMPILER_RT_BUILD_MEMPROF.

Tested by configuring with a similar command as to what was used in the
failing Chromium configure. I reproduced the Chromium failure, as well
as the original bot failure I tried to fix in
3ed77ecd0a, with that fix reverted.
Confirmed it now works.

Differential Revision: https://reviews.llvm.org/D90190
2020-10-26 13:52:50 -07:00
..
BlocksRuntime
asan [asan] Fix stack-use-after-free checks on non-main thread on Fuchsia 2020-10-24 14:29:32 -07:00
builtins [X86] Add a stub for Intel's alderlake. 2020-10-24 19:01:22 +02:00
cfi [sanitizers] Remove unneeded MaybeCall*DefaultOptions() and nullptr checks 2020-09-08 10:12:05 -07:00
crt
dfsan Set Huge Page mode on shadow regions based on no_huge_pages_for_shadow 2020-10-20 16:50:59 +00:00
fuzzer [libFuzzer] Added -print_full_coverage flag. 2020-10-23 16:05:54 -07:00
gwp_asan [GWP-ASan] Refactor memory mapping functions 2020-10-26 13:32:08 -07:00
hwasan Revert "hwasan: Disable operator {new,delete} interceptors when interceptors are disabled." 2020-10-24 15:04:22 -04:00
interception [Sanitizers] Remove OpenBSD support (new attempt) 2020-10-20 11:16:09 +01:00
lsan Do not intercept __libc_memalign and cfree on Android because neither of these exists in Bionic. 2020-10-21 23:21:45 -04:00
memprof [MemProf] Allow the binary to specify the profile output filename 2020-10-22 08:30:19 -07:00
msan [msan] Skip memcpy interceptor called by gethostname 2020-09-25 15:26:34 -07:00
profile [PGO] Remove the old memop value profiling buckets. 2020-10-15 10:09:49 -07:00
safestack
sanitizer_common tsan: add mips64 support in lib/tsan/go/buildgo.sh 2020-10-26 12:19:52 +01:00
scudo [compiler-rt] Suppress -Wunused-result due to ::write when _FORTIFY_SOURCE>0 in glibc 2020-10-12 09:57:12 -07:00
stats
tsan tsan: add mips64 support in lib/tsan/go/buildgo.sh 2020-10-26 12:19:52 +01:00
ubsan [Sanitizers] Remove OpenBSD support (new attempt) 2020-10-20 11:16:09 +01:00
ubsan_minimal [compiler-rt] Suppress -Wunused-result due to ::write when _FORTIFY_SOURCE>0 in glibc 2020-10-12 09:57:12 -07:00
xray [Sanitizers] Remove OpenBSD support (new attempt) 2020-10-20 11:16:09 +01:00
CMakeLists.txt [MemProf] Decouple memprof build from COMPILER_RT_BUILD_SANITIZERS 2020-10-26 13:52:50 -07:00