Consolidate MemRefs handling from BranchFolding and correct latent bug
[oota-llvm.git] / test / DebugInfo / dwarfdump-pubnames.test
1 RUN: llvm-dwarfdump %p/Inputs/dwarfdump-pubnames.elf-x86-64 \
2 RUN:   -debug-dump=pubnames | FileCheck %s
3
4 CHECK: .debug_pubnames contents:
5 CHECK: length = 0x000000a1 version = 0x0002 unit_offset = 0x00000000 unit_size = 0x00000141
6
7 CHECK: Offset        Name
8 CHECK: 0x00000098    "global_namespace_variable"
9 CHECK: 0x000000a7    "global_namespace_function"
10 CHECK: 0x000000ec    "static_member_function"
11 CHECK: 0x0000007c    "global_variable"
12 CHECK: 0x00000103    "global_function"
13 CHECK: 0x000000c2    "member_function"
14