[PATCH] D68399: Update lit infra to detect "MemoryWithOrigins' sanitizer build.

Sumanth Gundapaneni via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 08:32:37 PDT 2019


sgundapa created this revision.
sgundapa added a reviewer: bcain.
Herald added subscribers: llvm-commits, delcypher.
Herald added a project: LLVM.

Repository:
  rL LLVM

https://reviews.llvm.org/D68399

Files:
  llvm/utils/lit/lit/llvm/config.py


Index: llvm/utils/lit/lit/llvm/config.py
===================================================================
--- llvm/utils/lit/lit/llvm/config.py
+++ llvm/utils/lit/lit/llvm/config.py
@@ -71,7 +71,7 @@
         sanitizers = frozenset(x.lower() for x in sanitizers.split(';'))
         if 'address' in sanitizers:
             features.add('asan')
-        if 'memory' in sanitizers:
+        if 'memory' in sanitizers or 'memorywithorigins' in sanitizers:
             features.add('msan')
         if 'undefined' in sanitizers:
             features.add('ubsan')


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68399.223030.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191003/931557cd/attachment.bin>


More information about the llvm-commits mailing list