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 | 9af3b173c08280760d2cf3317a7cc0de7fbbeb23 (patch) | |
| tree | aea5fccc8d15235831c5a06a37b19ddac23fa916 | |
| parent | 089082378f28820fc441c9ae812c1423de32d692 (diff) | |
| download | bcm5719-llvm-9af3b173c08280760d2cf3317a7cc0de7fbbeb23.tar.gz bcm5719-llvm-9af3b173c08280760d2cf3317a7cc0de7fbbeb23.zip | |
[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
llvm-svn: 318469
| -rw-r--r-- | compiler-rt/test/lit.common.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler-rt/test/lit.common.cfg b/compiler-rt/test/lit.common.cfg index 4b33bb033d1..48987dfdadd 100644 --- a/compiler-rt/test/lit.common.cfg +++ b/compiler-rt/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") |

