[cfe-commits] r147386 - in /cfe/trunk/test/Driver: debug-options-as.c debug-options.c

NAKAMURA Takumi geek4civic at gmail.com
Fri Dec 30 18:36:24 PST 2011


Author: chapuni
Date: Fri Dec 30 20:36:23 2011
New Revision: 147386

URL: http://llvm.org/viewvc/llvm-project?rev=147386&view=rev
Log:
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.

Added:
    cfe/trunk/test/Driver/debug-options-as.c
Modified:
    cfe/trunk/test/Driver/debug-options.c

Added: cfe/trunk/test/Driver/debug-options-as.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/debug-options-as.c?rev=147386&view=auto
==============================================================================
--- cfe/trunk/test/Driver/debug-options-as.c (added)
+++ cfe/trunk/test/Driver/debug-options-as.c Fri Dec 30 20:36:23 2011
@@ -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"

Modified: cfe/trunk/test/Driver/debug-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/debug-options.c?rev=147386&r1=147385&r2=147386&view=diff
==============================================================================
--- cfe/trunk/test/Driver/debug-options.c (original)
+++ cfe/trunk/test/Driver/debug-options.c Fri Dec 30 20:36:23 2011
@@ -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"





More information about the cfe-commits mailing list