1 # RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o - | \
2 # RUN: llvm-dwarfdump -debug-pubnames - | \
5 # CHECK: .debug_pubnames contents:
6 # CHECK-NEXT: length = 0x0000000000000032
7 # CHECK-SAME: format = DWARF64
8 # CHECK-SAME: version = 0x0002
9 # CHECK-SAME: unit_offset = 0x0000112233445566
10 # CHECK-SAME: unit_size = 0x0000110022003300
11 # CHECK-NEXT: Offset Name
12 # CHECK-NEXT: 0x0000aa01aaaabbbb "foo"
13 # CHECK-NEXT: 0x0000aa02aaaabbbb "bar"
15 .section .debug_pubnames,"",@progbits
16 .long 0xffffffff # DWARF64 mark
17 .quad .Lend - .Lversion # Unit Length
20 .quad 0x112233445566 # Debug Info Offset
21 .quad 0x110022003300 # Debug Info Length
22 .quad 0xaa01aaaabbbb # Tuple0: Offset
24 .quad 0xaa02aaaabbbb # Tuple1: Offset