diff options
Diffstat (limited to 'test/Driver/darwin-debug-flags.c')
-rw-r--r-- | test/Driver/darwin-debug-flags.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Driver/darwin-debug-flags.c b/test/Driver/darwin-debug-flags.c index 326ca47..baf28475 100644 --- a/test/Driver/darwin-debug-flags.c +++ b/test/Driver/darwin-debug-flags.c @@ -1,5 +1,7 @@ -// RUN: env RC_DEBUG_OPTIONS=1 %clang -ccc-host-triple i386-apple-darwin9 -g -Os %s -emit-llvm -S -o - | FileCheck %s +// RUN: env RC_DEBUG_OPTIONS=1 %clang -target i386-apple-darwin9 -g -Os %s -emit-llvm -S -o - | FileCheck %s // <rdar://problem/7256886> +// RUN: touch %t.s +// RUN: env RC_DEBUG_OPTIONS=1 %clang -### -target i386-apple-darwin9 -c -g %t.s 2>&1 | FileCheck -check-prefix=S %s // CHECK: !0 = metadata !{ // CHECK: -g -Os @@ -7,3 +9,5 @@ // CHECK: [ DW_TAG_compile_unit ] int x; + +// S: "-dwarf-debug-flags" |