xref: /aosp_15_r20/external/llvm/test/DebugInfo/dwarfdump-pubnames.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard WorkerRUN: llvm-dwarfdump %p/Inputs/dwarfdump-pubnames.elf-x86-64 \
2*9880d681SAndroid Build Coastguard WorkerRUN:   -debug-dump=pubnames | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard WorkerCHECK: .debug_pubnames contents:
5*9880d681SAndroid Build Coastguard WorkerCHECK: length = 0x000000a1 version = 0x0002 unit_offset = 0x00000000 unit_size = 0x00000141
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard WorkerCHECK: Offset        Name
8*9880d681SAndroid Build Coastguard WorkerCHECK: 0x00000098    "global_namespace_variable"
9*9880d681SAndroid Build Coastguard WorkerCHECK: 0x000000a7    "global_namespace_function"
10*9880d681SAndroid Build Coastguard WorkerCHECK: 0x000000ec    "static_member_function"
11*9880d681SAndroid Build Coastguard WorkerCHECK: 0x0000007c    "global_variable"
12*9880d681SAndroid Build Coastguard WorkerCHECK: 0x00000103    "global_function"
13*9880d681SAndroid Build Coastguard WorkerCHECK: 0x000000c2    "member_function"
14*9880d681SAndroid Build Coastguard Worker
15