blob: a37ef7d50514579b4fc34aef591f5d449ded6dda [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
Adrian Prantl16aa4cf2017-09-11 23:05:20 +00002// RUN: llvm-dwarfdump -v -debug-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