mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
37ec73c718
As discussed on llvm-dev in http://lists.llvm.org/pipermail/llvm-dev/2017-September/117301.html this changes the command line interface of llvm-dwarfdump to match the one used by the dwarfdump utility shipping on macOS. In addition to being shorter to type this format also has the advantage of allowing more than one section to be specified at the same time. In a nutshell, with this change $ llvm-dwarfdump --debug-dump=info $ llvm-dwarfdump --debug-dump=apple-objc becomes $ dwarfdump --debug-info --apple-objc Differential Revision: https://reviews.llvm.org/D37714 llvm-svn: 312970
15 lines
516 B
Plaintext
15 lines
516 B
Plaintext
RUN: llvm-dwarfdump %p/Inputs/dwarfdump-pubnames.elf-x86-64 \
|
|
RUN: --debug-pubnames | FileCheck %s
|
|
|
|
CHECK: .debug_pubnames contents:
|
|
CHECK: length = 0x000000a1 version = 0x0002 unit_offset = 0x00000000 unit_size = 0x00000141
|
|
|
|
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"
|
|
|