diff options
author | Kevin Enderby <enderby@apple.com> | 2011-12-22 19:31:58 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2011-12-22 19:31:58 +0000 |
commit | 567003e572eed69cf1e8a04601076c8803355c7a (patch) | |
tree | 51bf6fcb9d8baaba6aefab4c8746119715add509 /test/Driver/darwin-debug-flags.c | |
parent | cf15cef8447e8b3ae08e81ad25ae9eb443038acf (diff) | |
download | clang-567003e572eed69cf1e8a04601076c8803355c7a.tar.gz clang-567003e572eed69cf1e8a04601076c8803355c7a.tar.bz2 clang-567003e572eed69cf1e8a04601076c8803355c7a.tar.xz |
Last part of support for generating dwarf for assembly source files. This gets
the clang driver to enable this when assembling a .s file. rdar://9275556
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/darwin-debug-flags.c')
-rw-r--r-- | test/Driver/darwin-debug-flags.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Driver/darwin-debug-flags.c b/test/Driver/darwin-debug-flags.c index 326ca47411..9ef4f6d696 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 // <rdar://problem/7256886> +// RUN: touch %t.s +// RUN: env RC_DEBUG_OPTIONS=1 %clang -### -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" |