llvm-project/compiler-rt/lib
Peter Collingbourne e22d802e58 scudo: Adjust test to use correct check for primary allocations.
canAllocate() does not take into account the header size so it does
not return the right answer in borderline cases. There was already
code handling this correctly in isTaggedAllocation() so split it out
into a separate function and call it from the test.

Furthermore the test was incorrect when MTE is enabled because MTE
does not pattern fill primary allocations. Fix it.

Differential Revision: https://reviews.llvm.org/D93437
2020-12-17 10:42:17 -08:00
..
BlocksRuntime
asan [sanitizer] Fix typo in log messages 2020-11-18 03:42:38 -08:00
builtins [PATCH] [compiler-rt] [builtins] Fix name of __aarch64_have_lse_atomics on Darwin 2020-12-16 14:42:03 +01:00
cfi [sanitizers] Remove unneeded MaybeCall*DefaultOptions() and nullptr checks 2020-09-08 10:12:05 -07:00
crt [RISCV][crt] support building without init_array 2020-12-01 17:17:50 +03:00
dfsan [DFSan] Add custom wrapper for recvmmsg. 2020-12-11 06:24:56 -08:00
fuzzer [fuzzer] Add Windows Visual C++ exception intercept 2020-11-12 13:11:14 -08:00
gwp_asan [GWP-ASan] IWYU & clang-format 2020-12-10 12:42:01 -08:00
hwasan [hwasan] Implement error report callback. 2020-11-20 16:48:19 -08:00
interception [sanitizer] Remove -Wno-non-virtual-dtor 2020-11-04 00:51:33 -08:00
lsan [lsan] Use final on Fuchsia ThreadContext declaration 2020-12-02 11:58:03 -08:00
memprof [compiler-rt santizer] Use clock_gettime instead of timespec_get 2020-12-08 10:10:17 -08:00
msan [msan] Do not use 77 as exit code, instead use 1 2020-12-10 14:23:12 -08:00
profile [compiler-rt] [profile] Silence a warning about an unused function on mingw targets 2020-11-21 22:14:35 +02:00
safestack
sanitizer_common [sanitizer] Restrict querying VM size on Darwin only to iOS devices 2020-12-14 10:48:48 -08:00
scudo scudo: Adjust test to use correct check for primary allocations. 2020-12-17 10:42:17 -08:00
stats
tsan [tsan] Add pthread_cond_clockwait interceptor 2020-11-18 14:39:19 -08:00
ubsan [compiler-rt] [ubsan] Use the itanium type info lookup for mingw targets 2020-11-03 09:59:08 +02: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 [XRay] Remove unnecessary <x86intrin.h> include 2020-12-14 12:36:35 +02:00
CMakeLists.txt [MemProf] Decouple memprof build from COMPILER_RT_BUILD_SANITIZERS 2020-10-26 13:52:50 -07:00