[PATCH] D39772: [asan] Add lit feature for custom shadow scale
Walter Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 16 14:13:02 PST 2017
waltl updated this revision to Diff 123240.
waltl added a comment.
Address CR comments
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
@@ -320,3 +320,8 @@
# 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")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39772.123240.patch
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171116/0190db6e/attachment.bin>
More information about the llvm-commits
mailing list