]> granicus.if.org Git - clang/commitdiff
Split out clang/test/Driver/debug-options-as.c from debug-options.c, and mark it...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 31 Dec 2011 02:36:23 +0000 (02:36 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 31 Dec 2011 02:36:23 +0000 (02:36 +0000)
Mingw32 target has not supported integrated-as yet.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147386 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/debug-options-as.c [new file with mode: 0644]
test/Driver/debug-options.c

diff --git a/test/Driver/debug-options-as.c b/test/Driver/debug-options-as.c
new file mode 100644 (file)
index 0000000..0159e16
--- /dev/null
@@ -0,0 +1,10 @@
+// Check to make sure clang with -g on a .s file gets passed.
+// rdar://9275556
+// RUN: touch %t.s
+// RUN: %clang -### -c -g %t.s 2>&1 | FileCheck -check-prefix=S %s
+//
+// mingw has not supported integrated-as yet.
+// XFAIL: mingw32
+//
+// S: "-cc1as"
+// S: "-g"
index 0d42ee92d3a8f146673b0abba5175cea2d4ff10b..867251971d26646c76a9f8bb93cc9ddc4471413f 100644 (file)
@@ -5,10 +5,6 @@
 // RUN: %clang -### -c -g3 %s 2>&1 | FileCheck -check-prefix=G3 %s
 // RUN: %clang -### -c -ganything %s 2>&1 | FileCheck -check-prefix=GANY %s
 // RUN: %clang -### -c -gfoo %s 2>&1 | FileCheck -check-prefix=GFOO %s
-// Check to make sure clang with -g on a .s file gets passed.
-// rdar://9275556
-// RUN: touch %t.s
-// RUN: %clang -### -c -g %t.s 2>&1 | FileCheck -check-prefix=S %s
 //
 // G: "-cc1"
 // G: "-g"
@@ -21,6 +17,3 @@
 //
 // GFOO: "-cc1"
 // GFOO-NOT: "-g"
-//
-// S: "-cc1as"
-// S: "-g"