[llvm] r255546 - Print the eh_frame section in MachoDump.
Pete Cooper via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 14 15:26:45 PST 2015
> On Dec 14, 2015, at 2:10 PM, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
>
>> +# RUN: llvm-objdump -unwind-info %p/Inputs/eh_frame.macho-arm64 2>/dev/null | FileCheck %s
>
> Another thing, llvm-objdump is intended to be a objdump replacement.
> We should try to use the same command line options and output format.
> In particular, the command line option is "--dwarf=frames" and the
> output looks like the attached.
Thanks for this. So I didn’t know this before, but looks like all the code I wrote is redundant given the code in llvm-dwarfdump —debug=frames.
I guess something we need to eventually do is pull as much of dwarfdump in to objdump as is needed to support the required command line options.
I’ll see if i can get a patch together which works with some of this.
Thanks,
Pete
>
> Cheers,
> Rafael
> <test.dump>
More information about the llvm-commits
mailing list