llvm-project/compiler-rt/test/sanitizer_common
Julian Lettner a5228bcaad [Darwin] Limit parallelism for sanitizer tests that use shadow memory on AS
On Darwin, we want to limit the parallelism during test execution for
sanitizer tests that use shadow memory.  The reason is explained by this
existing comment:

> Only run up to 3 processes that require shadow memory simultaneously
> on 64-bit Darwin. Using more scales badly and hogs the system due to
> inefficient handling of large mmap'd regions (terabytes) by the
> kernel.

Previously we detected 3 cases:
* on-device: limit to 1 process
* 64-bit: macOS & simulators, limit to 3 processes
* others (32-bit): no limitation

We checked for the 64-bit case like this: `if arch in ['x86_64',
'x86_64h']` which misses macOS running on AS. Additionally, we don't
care about 32-bit anymore, so I've simplified this to 2 cases: on-device
and everything else.

Differential Revision: https://reviews.llvm.org/D122751
2022-03-31 14:43:28 -07:00
..
TestCases [msan] Add interceptors for Linux 64-bit stat variants 2022-03-15 20:22:28 -07:00
Unit [Darwin] Limit parallelism for sanitizer tests that use shadow memory on AS 2022-03-31 14:43:28 -07:00
android_commands [sanitizer] Fix type error in python 3 2021-07-13 21:29:14 -07:00
ios_commands [Darwin][Sanitizer] Lower Python requirement for iOS simulator testing 2022-01-07 17:37:29 -08:00
netbsd_commands [compiler-rt] [test] Disable MPROTECT on two builtin tests 2019-12-20 17:50:53 +01:00
CMakeLists.txt [compiler-rt][test] Ensure CMAKE_SYSROOT is added as a test cflag if provided 2021-09-16 17:14:14 -07:00
lit.common.cfg.py Revert "[Driver] Default CLANG_DEFAULT_PIE_ON_LINUX to ON" 2022-02-26 15:32:49 +01:00
lit.site.cfg.py.in [compiler-rt] Mark symbolize_stack_fp test unsupported on Arm Thumb 2021-06-09 08:50:21 +00:00
print_address.h [LSan][RISCV] Enable LSan for RISCV64 2021-01-31 21:53:25 +00:00
sanitizer_ucontext.h