forked from OSchip/llvm-project
[test] Add 'hwasan' feature and disable a test
This commit is contained in:
parent
4ceff69636
commit
fae656b2dd
|
@ -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
|
||||
|
|
|
@ -102,6 +102,8 @@ class LLVMConfig(object):
|
|||
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:
|
||||
|
|
Loading…
Reference in New Issue