blob: 558ba658925d22941c40f223a45fce6183be5b37 [file] [log] [blame]
Krzysztof Parzyszek51f6ba02013-02-14 16:10:58 +00001RUN: llvm-dwarfdump %p/Inputs/dwarfdump-pubnames.elf-x86-64 \
Adrian Prantl8e66c2e2017-09-11 22:59:45 +00002RUN: --debug-pubnames | FileCheck %s
Krzysztof Parzyszek51f6ba02013-02-14 16:10:58 +00003
4CHECK: .debug_pubnames contents:
David Blaikie2e110c32013-11-01 17:53:30 +00005CHECK: length = 0x000000a1 version = 0x0002 unit_offset = 0x00000000 unit_size = 0x00000141
Krzysztof Parzyszek51f6ba02013-02-14 16:10:58 +00006
Eric Christopherc839df02013-09-25 23:02:36 +00007CHECK: Offset Name
8CHECK: 0x00000098 "global_namespace_variable"
9CHECK: 0x000000a7 "global_namespace_function"
10CHECK: 0x000000ec "static_member_function"
11CHECK: 0x0000007c "global_variable"
12CHECK: 0x00000103 "global_function"
13CHECK: 0x000000c2 "member_function"
14