]> granicus.if.org Git - clang/commitdiff
check-clang: Introduce the feature "dw2" to suppress CodeGenCXX/debug-info-namespace...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 16 Feb 2014 10:15:46 +0000 (10:15 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 16 Feb 2014 10:15:46 +0000 (10:15 +0000)
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
test/lit.cfg

index 031f6bf47ce0c4638b697b4ef7dd3671497aad9a..892ca0d82f76e898bb65aea49ae9ad2880e071f4 100644 (file)
@@ -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
index d82d465ff0d215ccc496a03714f88818aa1e5a9e..e86628fe17b5831bf525c0353ee35b81bccdc168 100644 (file)
@@ -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')