aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-12-31 02:36:23 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-12-31 02:36:23 +0000
commit868f65c6bf904591f62a0d69866825d2d3dfd16f (patch)
treee7b8f874ffe14568426283b67d26604e2940842a
parent4debc82d9d967501b8650599cd44003d7026f56c (diff)
Split out clang/test/Driver/debug-options-as.c from debug-options.c, and mark it as XFAIL: mingw32.
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
-rw-r--r--test/Driver/debug-options-as.c10
-rw-r--r--test/Driver/debug-options.c7
2 files changed, 10 insertions, 7 deletions
diff --git a/test/Driver/debug-options-as.c b/test/Driver/debug-options-as.c
new file mode 100644
index 0000000000..0159e16302
--- /dev/null
+++ b/test/Driver/debug-options-as.c
@@ -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"
diff --git a/test/Driver/debug-options.c b/test/Driver/debug-options.c
index 0d42ee92d3..867251971d 100644
--- a/test/Driver/debug-options.c
+++ b/test/Driver/debug-options.c
@@ -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"