Eric Christopher | 906da23 | 2012-12-18 00:31:01 +0000 | [diff] [blame] | 1 | // RUN: llvm-mc -triple x86_64-unknown-linux-gnu -filetype obj -main-file-name foo.S -g -o %t %s |
Eli Bendersky | e6abe83 | 2013-01-25 21:44:53 +0000 | [diff] [blame] | 2 | // RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s |
Eric Christopher | 906da23 | 2012-12-18 00:31:01 +0000 | [diff] [blame] | 3 | |
| 4 | // CHECK: DW_TAG_compile_unit [1] |
| 5 | // CHECK-NOT: DW_TAG_ |
| 6 | // CHECK: DW_AT_name [DW_FORM_string] ("foo.S") |
| 7 | |
| 8 | |
| 9 | # 1 "foo.S" |
| 10 | # 1 "<built-in>" 1 |
| 11 | # 1 "foo.S" 2 |
| 12 | |
| 13 | foo: |
| 14 | nop |
| 15 | nop |
| 16 | nop |
| 17 | |