summaryrefslogtreecommitdiffstats
path: root/test/Driver/debug-options-as.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/debug-options-as.c')
-rw-r--r--test/Driver/debug-options-as.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/test/Driver/debug-options-as.c b/test/Driver/debug-options-as.c
index 57036e4..0b639b2 100644
--- a/test/Driver/debug-options-as.c
+++ b/test/Driver/debug-options-as.c
@@ -1,5 +1,5 @@
// cygming have not supported integrated-as yet.
-// XFAIL: cygwin,mingw32
+// REQUIRES: clang-driver
//
// Check to make sure clang is somewhat picky about -g options.
// (Delived from debug-options.c)
@@ -14,7 +14,16 @@
// rdar://9275556
// RUN: touch %t.s
// RUN: %clang -### -c -integrated-as -g %t.s 2>&1 \
-// RUN: | FileCheck -check-prefix=S %s
+// RUN: | FileCheck %s
//
-// S: "-cc1as"
-// S: "-g"
+// CHECK: "-cc1as"
+// CHECK: "-g"
+
+// Check to make sure clang with -g on a .s file gets passed -dwarf-debug-producer.
+// rdar://12955296
+// RUN: touch %t.s
+// RUN: %clang -### -c -integrated-as -g %t.s 2>&1 \
+// RUN: | FileCheck -check-prefix=P %s
+//
+// P: "-cc1as"
+// P: "-dwarf-debug-producer"
OpenPOWER on IntegriCloud