[PATCH] D39772: [asan] Add lit feature to indicate compiler_rt's shadow scale value

Walter Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 15:28:33 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL318469: [asan] Add lit feature to indicate compiler_rt's shadow scale value (authored by waltl).

Changed prior to commit:
  https://reviews.llvm.org/D39772?vs=123240&id=123252#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D39772

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


Index: compiler-rt/trunk/test/lit.common.cfg
===================================================================
--- compiler-rt/trunk/test/lit.common.cfg
+++ compiler-rt/trunk/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.123252.patch
Type: text/x-patch
Size: 591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171116/27e33d83/attachment.bin>


More information about the llvm-commits mailing list