llvm/compiler-rt/test
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
..
asan [Darwin] Limit parallelism for sanitizer tests that use shadow memory on AS 2022-03-31 14:43:28 -07:00
BlocksRuntime [compiler-rt] NFC: Fix trivial typo 2021-09-04 14:12:58 +05:30
builtins [compiler-rt] Remove mentions of AuroraUX in code comments and docs. 2022-03-21 22:05:58 +01:00
cfi [compiler-rt] -fsanitize=cfi is not supported on Darwin 2021-03-17 13:28:42 -07:00
crt Revert "[Driver] Default CLANG_DEFAULT_PIE_ON_LINUX to ON" 2022-02-26 15:32:49 +01:00
dfsan [DFSan] Remove use of setarch in dfsan test. 2022-03-14 10:03:51 -07:00
fuzzer [CMake] Rename TARGET_TRIPLE to LLVM_TARGET_TRIPLE 2022-03-11 15:43:01 -08:00
gwp_asan [compiler-rt][GWP-ASAN] Disable 2 tests on Armv7 Linux 2021-07-19 10:45:11 +00:00
hwasan [NFC][hwasan] Check __GLIBCXX__ before checking _GLIBCXX_RELEASE in test 2022-03-01 09:39:26 +01:00
interception
lsan [lsan] Attempt to fix s390x after a63932a8 2022-03-15 18:02:03 -07:00
memprof [sanitizer] Check if directory exists before trying to create 2022-02-13 06:59:32 -08:00
msan Use-after-dtor detection for trivial base classes. 2022-03-16 18:20:27 -07:00
orc [ORC-RT] Add two new jit-dlopen testcases, and switch to .c for dlopen tests. 2022-02-10 14:11:46 +11:00
profile [InstrProf] Add single byte coverage mode 2022-01-27 17:38:55 -08:00
safestack
sanitizer_common [Darwin] Limit parallelism for sanitizer tests that use shadow memory on AS 2022-03-31 14:43:28 -07:00
scudo Revert "[Scudo] Make -fsanitize=scudo use standalone. Migrate tests." 2021-05-26 10:50:26 -07:00
shadowcallstack
tsan [Darwin] Limit parallelism for sanitizer tests that use shadow memory on AS 2022-03-31 14:43:28 -07:00
ubsan [Sanitizers][test] XFAIL long double tests on Solaris/sparc 2022-02-09 09:20:21 +01:00
ubsan_minimal [test] Fix unused FileCheck prefixes in compiler-rt 2021-02-01 22:32:13 -08:00
xray [compiler-rt][xray] Disable fdr-reinit test on Arm 2022-02-14 13:36:51 +00:00
.clang-format [tests][sanitizers] Don't reflow comments 2021-08-03 12:54:00 -07:00
.clang-tidy
CMakeLists.txt [ORC-RT] Add target dependencies to ORC-RT regression tests. 2021-09-28 22:08:47 -07:00
lit.common.cfg.py [Darwin] Limit parallelism for sanitizer tests that use shadow memory on AS 2022-03-31 14:43:28 -07:00
lit.common.configured.in Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00