mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
8e66c2eabb
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312970 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
432 B
Plaintext
17 lines
432 B
Plaintext
# REQUIRES: object-emission
|
|
# RUN: llvm-dsymutil -f -oso-prepend-path=%p/../Inputs -y %s -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
|
|
|
---
|
|
triple: 'x86_64-apple-darwin'
|
|
objects:
|
|
- filename: fat-test.o
|
|
symbols:
|
|
- { sym: _x86_64_var, objAddr: 0x0, binAddr: 0x1000, size: 0x4 }
|
|
...
|
|
|
|
# CHECK: .debug_info contents:
|
|
# CHECK: DW_TAG_variable
|
|
# CHECK-NOT: {{DW_TAG|NULL}}
|
|
# CHECK: DW_AT_name{{.*}}"x86_64_var"
|
|
|