[PATCH] D58310: [Darwin][NFC] Refactor throttling of 64bit sanitizer tests on Darwin

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 15 15:09:14 PST 2019


yln created this revision.
Herald added subscribers: llvm-commits, Sanitizers, jdoerfert, kubamracek.
Herald added a reviewer: serge-sans-paille.
Herald added projects: Sanitizers, LLVM.

Underlying condition for throttling is "has large mmap'd regions" (i.e.,
shadow memory) and not sanitizers in general (e.g., UBSan does not need
to be throttled).

Rename parallelism group `darwin-64bit-sanitizer` to `shadow-memory` and
apply it unconditionally to all tests which require it. We can then have
all the Darwin throttling logic in one place in the commen lit config.

Throttle sanitizer_common unit tests. Configuration was previously
missing from sanitizer_common/Unit/lit.site.cfg.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D58310

Files:
  compiler-rt/test/asan/lit.cfg
  compiler-rt/test/fuzzer/lit.cfg
  compiler-rt/test/lit.common.cfg
  compiler-rt/test/sanitizer_common/Unit/lit.site.cfg.in
  compiler-rt/test/sanitizer_common/lit.common.cfg
  compiler-rt/test/tsan/lit.cfg
  compiler-rt/unittests/lit.common.unit.cfg
  compiler-rt/unittests/lit_unittest_cfg_utils.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58310.187099.patch
Type: text/x-patch
Size: 6180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190215/5b0ba935/attachment.bin>


More information about the llvm-commits mailing list