Author: Vitaly Buka Date: 2022-08-17T23:50:35-07:00 New Revision: fae656b2dd80246c3c6f01e9c77c49560368752c
URL: https://github.com/llvm/llvm-project/commit/fae656b2dd80246c3c6f01e9c77c49560368752c DIFF: https://github.com/llvm/llvm-project/commit/fae656b2dd80246c3c6f01e9c77c49560368752c.diff LOG: [test] Add 'hwasan' feature and disable a test Added: Modified: clang/test/SemaCXX/PR51712-large-array-constexpr-check-oom.cpp llvm/utils/lit/lit/llvm/config.py Removed: ################################################################################ diff --git a/clang/test/SemaCXX/PR51712-large-array-constexpr-check-oom.cpp b/clang/test/SemaCXX/PR51712-large-array-constexpr-check-oom.cpp index f84cab8dc33e0..98e1a9afae6ea 100644 --- a/clang/test/SemaCXX/PR51712-large-array-constexpr-check-oom.cpp +++ b/clang/test/SemaCXX/PR51712-large-array-constexpr-check-oom.cpp @@ -5,6 +5,7 @@ // REQUIRES: system-linux // UNSUPPORTED: msan // UNSUPPORTED: asan +// UNSUPPORTED: hwasan // // RUN: ulimit -v 1048576 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -triple=x86_64 %s diff --git a/llvm/utils/lit/lit/llvm/config.py b/llvm/utils/lit/lit/llvm/config.py index 93419213427fa..e2e79297e63c2 100644 --- a/llvm/utils/lit/lit/llvm/config.py +++ b/llvm/utils/lit/lit/llvm/config.py @@ -102,6 +102,8 @@ def __init__(self, lit_config, config): sanitizers = frozenset(x.lower() for x in sanitizers.split(';')) if 'address' in sanitizers: features.add('asan') + if 'hwaddress' in sanitizers: + features.add('hwasan') if 'memory' in sanitizers or 'memorywithorigins' in sanitizers: features.add('msan') if 'undefined' in sanitizers: _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits