aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJulian Lettner <julian.lettner@apple.com>2022-03-30 10:24:11 -0700
committerJulian Lettner <julian.lettner@apple.com>2022-03-31 14:43:28 -0700
commita5228bcaad9c57e7ede95d900a730c59f5243d35 (patch)
tree15f1a01a42b81a15a83686837e371de9c1ab1113 /clang/lib/Frontend/CompilerInvocation.cpp
parent1f7b58f2a50461493f083b2ed807b25e036286f6 (diff)
downloadllvm-a5228bcaad9c57e7ede95d900a730c59f5243d35.zip
llvm-a5228bcaad9c57e7ede95d900a730c59f5243d35.tar.gz
llvm-a5228bcaad9c57e7ede95d900a730c59f5243d35.tar.bz2
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions