llvm-project/compiler-rt/lib
Luís Marques eb4967c8bd [Sanitizer][RISCV][AArch64][Android] Adjust allocator tests
On 64-bit systems with small VMAs (e.g. 39-bit) we can't use
SizeClassAllocator64 parameterized with size class maps containing a large
number of classes, as that will make the allocator region size too small
(< 2^32). Several tests were already disabled for Android because of this.

This patch provides the correct allocator configuration for RISC-V
(riscv64), generalizes the gating condition for tests that can't be enabled
for small VMA systems, and tweaks the tests that can be made compatible with
those systems to enable them.

I think the previous gating on Android should instead be AArch64+Android, so
the patch reflects that.

Differential Revision: https://reviews.llvm.org/D97234
2021-03-30 21:20:37 +01:00
..
BlocksRuntime
asan [sanitizer] Simplify GetTls with dl_iterate_phdr 2021-03-25 21:55:27 -07:00
builtins [compiler-rt] Use try_compile_only to check for __ARM_FP 2021-03-16 22:21:18 +02: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] Ignore dfsan origin wrappers when instrumenting code 2021-03-29 00:15:26 +00:00
fuzzer [libFuzzer] Use macro instead of __attribute__. 2021-03-12 14:36:57 -08:00
gwp_asan [GWP-ASan] Change sys/cdefs.h to features.h 2021-02-17 20:03:16 -08:00
hwasan [sanitizer] Simplify GetTls with dl_iterate_phdr 2021-03-25 21:55:27 -07:00
interception [sanitizer] Define SANITIZER_GLIBC to refine SANITIZER_LINUX feature detection and support musl 2021-01-06 10:55:40 -08:00
lsan [lsan] realloc: don't deallocate if requested size is too large 2021-03-29 13:35:10 -07:00
memprof [sanitizer] Simplify GetTls with dl_iterate_phdr 2021-03-25 21:55:27 -07:00
msan [sanitizer] Simplify GetTls with dl_iterate_phdr 2021-03-25 21:55:27 -07:00
profile [gcov] Delete ancient MSVC workaround 2021-03-12 15:10:12 -08: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][RISCV][AArch64][Android] Adjust allocator tests 2021-03-30 21:20:37 +01:00
scudo [NFC][scudo] Produce debug info 2021-03-30 00:22:00 -07:00
stats compiler-rt: Rename .cc file in lib/{dfsan,stats,ubsan_minimal} to .cpp 2019-08-01 12:41:23 +00:00
tsan [sanitizer] Simplify GetTls with dl_iterate_phdr 2021-03-25 21:55:27 -07:00
ubsan [sanitizer] Remove max_len parameter from InternalScopedString 2021-03-17 16:57:09 -07: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][compiler-rt][x86_64] Fix CFI directives in assembly trampolines 2021-03-06 10:38:27 -08:00
CMakeLists.txt [MemProf] Decouple memprof build from COMPILER_RT_BUILD_SANITIZERS 2020-10-26 13:52:50 -07:00