[PATCH] D39772: [asan] Add lit feature for custom shadow scale

Walter Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 10 09:19:40 PST 2017


waltl updated this revision to Diff 122459.
waltl added a comment.

Change approach to only override shadow scale in compiler_rt


https://reviews.llvm.org/D39772

Files:
  compiler-rt/test/lit.common.cfg


Index: compiler-rt/test/lit.common.cfg
===================================================================
--- compiler-rt/test/lit.common.cfg
+++ compiler-rt/test/lit.common.cfg
@@ -327,3 +327,7 @@
 # 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')
+
+# Detect custom shadow scale.
+if config.asan_shadow_scale != '' and config.asan_shadow_scale != '3':
+  config.available_features.add("custom-shadow-scale")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39772.122459.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171110/95674f70/attachment.bin>


More information about the llvm-commits mailing list