diff options
author | Walter Lee <waltl@google.com> | 2017-11-16 23:28:25 +0000 |
---|---|---|
committer | Walter Lee <waltl@google.com> | 2017-11-16 23:28:25 +0000 |
commit | 4c4cf35c0337da75c75f400132b8712a7dfe8e5f (patch) | |
tree | d855d5f238070a1a76b67c8494cfd6d901b15842 /test | |
parent | 7cfa6666a7ec1ef69c9f02ec88b4beae7e715755 (diff) |
[asan] Add lit feature to indicate compiler_rt's shadow scale value
This will be used to mark tests that require a specific shadow scale.
Differential Revision: https://reviews.llvm.org/D39772
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@318469 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/lit.common.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lit.common.cfg b/test/lit.common.cfg index 4b33bb033..48987dfda 100644 --- a/test/lit.common.cfg +++ b/test/lit.common.cfg @@ -320,3 +320,8 @@ elif config.android: # because the test hangs or fails on one configuration and not the other. if config.android or (config.target_arch not in ['arm', 'armhf', 'aarch64']): config.available_features.add('stable-runtime') + +if config.asan_shadow_scale: + config.available_features.add("shadow-scale-%s" % config.asan_shadow_scale) +else: + config.available_features.add("shadow-scale-3") |