[Darwin] Limit parallelism for sanitizer tests that use shadow memory on ASOn Darwin, we want to limit the parallelism during test execution forsanitizer tests that use shadow memory. The reason
[Darwin] Limit parallelism for sanitizer tests that use shadow memory on ASOn Darwin, we want to limit the parallelism during test execution forsanitizer tests that use shadow memory. The reason is explained by thisexisting 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 limitationWe checked for the 64-bit case like this: `if arch in ['x86_64','x86_64h']` which misses macOS running on AS. Additionally, we don'tcare about 32-bit anymore, so I've simplified this to 2 cases: on-deviceand everything else.Differential Revision: https://reviews.llvm.org/D122751
show more ...
[compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.*These lit configuration files are really Python source code. Using the.py file extension helps editors and tools use the correct languagemode. LL
[compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.*These lit configuration files are really Python source code. Using the.py file extension helps editors and tools use the correct languagemode. LLVM and Clang already use this convention for lit configuration,this change simply applies it to all of compiler-rt.Reviewers: vitalybuka, dberrisDifferential Revision: https://reviews.llvm.org/D63658llvm-svn: 364591
[Darwin][NFC] Refactor throttling of 64bit sanitizer tests on DarwinUnderlying condition for throttling is "has large mmap'd regions" (i.e.,shadow memory) and not sanitizers in general (e.g., UBSa
[Darwin][NFC] Refactor throttling of 64bit sanitizer tests on DarwinUnderlying condition for throttling is "has large mmap'd regions" (i.e.,shadow memory) and not sanitizers in general (e.g., UBSan does not needto be throttled).Rename parallelism group `darwin-64bit-sanitizer` to `shadow-memory` andapply it unconditionally to all tests which require it. We can then haveall the Darwin throttling logic in one place in the commen lit config.Throttle sanitizer_common unit tests. Configuration was previouslymissing from sanitizer_common/Unit/lit.site.cfg.Reviewed by: kubamracekDifferential Revision: https://reviews.llvm.org/D58677llvm-svn: 355018
Replace hardcoded comment at 'lit.site.cfg.in'At the moment almost every lit.site.cfg.in contains two lines comment: ## Autogenerated by LLVM/Clang configuration. # Do not edit!The patch add
Replace hardcoded comment at 'lit.site.cfg.in'At the moment almost every lit.site.cfg.in contains two lines comment: ## Autogenerated by LLVM/Clang configuration. # Do not edit!The patch adds variable LIT_SITE_CFG_IN_HEADER, that is replaced fromconfigure_lit_site_cfg with the note and some useful information.llvm-svn: 266520
[Sanitizer] Move lit config for sanitizer_common unit tests under Unit/ dir for consistency.llvm-svn: 208373