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

Sumanth Gundapaneni via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 11:02:10 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe85a96ddbfb4: Update lit infra to detect "MemoryWithOrigins' sanitizer build. (authored by sgundapa).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68399/new/

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.229361.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191114/a89237b2/attachment.bin>


More information about the llvm-commits mailing list