From c72c57c9e9b69944e3e009cd5e209634839581d3 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 8 Apr 2013 18:45:10 +0000 Subject: Vendor import of clang trunk r178860: http://llvm.org/svn/llvm-project/cfe/trunk@178860 --- test/Driver/debug-options-as.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'test/Driver/debug-options-as.c') 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" -- cgit v1.1