[PATCH] D31430: Disable asan leak tests on i386 linux

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 28 11:41:22 PDT 2017


fjricci created this revision.

Since leak detection is not enabled by default, we should not be
running asan tests that assume leak detection is enabled.

We can enable this once i386 lsan is enabled by default.


https://reviews.llvm.org/D31430

Files:
  test/asan/lit.cfg


Index: test/asan/lit.cfg
===================================================================
--- test/asan/lit.cfg
+++ test/asan/lit.cfg
@@ -211,7 +211,7 @@
   config.available_features.add('stable-runtime')
 
 # Turn on leak detection on 64-bit Linux.
-if config.host_os == 'Linux' and (config.target_arch == 'x86_64' or config.target_arch == 'i386'):
+if config.host_os == 'Linux' and config.target_arch == 'x86_64':
   config.available_features.add('leak-detection')
 
 # Set LD_LIBRARY_PATH to pick dynamic runtime up properly.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31430.93265.patch
Type: text/x-patch
Size: 532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170328/48dd1322/attachment.bin>


More information about the llvm-commits mailing list