2013-02-15 00:10:58 +08:00
|
|
|
RUN: llvm-dwarfdump %p/Inputs/dwarfdump-pubnames.elf-x86-64 \
|
|
|
|
RUN: -debug-dump=pubnames | FileCheck %s
|
|
|
|
|
|
|
|
CHECK: .debug_pubnames contents:
|
2013-11-02 01:53:30 +08:00
|
|
|
CHECK: length = 0x000000a1 version = 0x0002 unit_offset = 0x00000000 unit_size = 0x00000141
|
2013-02-15 00:10:58 +08:00
|
|
|
|
2013-09-26 07:02:36 +08:00
|
|
|
CHECK: Offset Name
|
|
|
|
CHECK: 0x00000098 "global_namespace_variable"
|
|
|
|
CHECK: 0x000000a7 "global_namespace_function"
|
|
|
|
CHECK: 0x000000ec "static_member_function"
|
|
|
|
CHECK: 0x0000007c "global_variable"
|
|
|
|
CHECK: 0x00000103 "global_function"
|
|
|
|
CHECK: 0x000000c2 "member_function"
|
|
|
|
|