Krzysztof Parzyszek | 51f6ba0 | 2013-02-14 16:10:58 +0000 | [diff] [blame] | 1 | RUN: llvm-dwarfdump %p/Inputs/dwarfdump-pubnames.elf-x86-64 \ |
Adrian Prantl | 8e66c2e | 2017-09-11 22:59:45 +0000 | [diff] [blame] | 2 | RUN: --debug-pubnames | FileCheck %s |
Krzysztof Parzyszek | 51f6ba0 | 2013-02-14 16:10:58 +0000 | [diff] [blame] | 3 | |
| 4 | CHECK: .debug_pubnames contents: |
David Blaikie | 2e110c3 | 2013-11-01 17:53:30 +0000 | [diff] [blame] | 5 | CHECK: length = 0x000000a1 version = 0x0002 unit_offset = 0x00000000 unit_size = 0x00000141 |
Krzysztof Parzyszek | 51f6ba0 | 2013-02-14 16:10:58 +0000 | [diff] [blame] | 6 | |
Eric Christopher | c839df0 | 2013-09-25 23:02:36 +0000 | [diff] [blame] | 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 | |