From 238e84e1c340347432e74fb2acd3da5f208217fb Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sun, 16 Feb 2014 10:15:46 +0000 Subject: [PATCH] check-clang: Introduce the feature "dw2" to suppress CodeGenCXX/debug-info-namespace.cpp with *-win32. FIXME: Could we add itanium triple here? git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201483 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/debug-info-namespace.cpp | 1 + test/lit.cfg | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/test/CodeGenCXX/debug-info-namespace.cpp b/test/CodeGenCXX/debug-info-namespace.cpp index 031f6bf47c..892ca0d82f 100644 --- a/test/CodeGenCXX/debug-info-namespace.cpp +++ b/test/CodeGenCXX/debug-info-namespace.cpp @@ -80,3 +80,4 @@ using B::i; // FIXME: It is confused on win32 to generate file entry when dosish filename is given. // REQUIRES: shell // REQUIRES: shell-preserves-root +// REQUIRES: dw2 diff --git a/test/lit.cfg b/test/lit.cfg index d82d465ff0..e86628fe17 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -336,6 +336,10 @@ if is_filesystem_case_insensitive(): if os.path.exists("/dev/fd/0") and sys.platform not in ['cygwin']: config.available_features.add('dev-fd-fs') +# DW2 Target +if not re.match(r'.*-win32$', config.target_triple): + config.available_features.add('dw2') + # [PR8833] LLP64-incompatible tests if not re.match(r'^x86_64.*-(win32|mingw32)$', config.target_triple): config.available_features.add('LP64') -- 2.40.0