blob: 0369c6158a43278dbe010dfaa324fd7ac59fb794 [file] [log] [blame]
Eric Christopher906da232012-12-18 00:31:01 +00001// RUN: llvm-mc -triple x86_64-unknown-linux-gnu -filetype obj -main-file-name foo.S -g -o %t %s
Eli Benderskye6abe832013-01-25 21:44:53 +00002// RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
Eric Christopher906da232012-12-18 00:31:01 +00003
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
13foo:
14 nop
15 nop
16 nop
17