]> granicus.if.org Git - llvm/commit
[llvm-readobj] Replace arch-specific ObjDumper methods by the single `printArchSpecif...
authorSimon Atanasyan <simon@atanasyan.com>
Fri, 4 Oct 2019 11:59:06 +0000 (11:59 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Fri, 4 Oct 2019 11:59:06 +0000 (11:59 +0000)
commita6cfd822915f38465cddc693f5ea20c05d091ea2
tree52e0072b33bf50099ee8ee25315e8231313ed970
parenteee7489fb6f06a328189930a6a757d70f9f48555
[llvm-readobj] Replace arch-specific ObjDumper methods by the single `printArchSpecificInfo`

Initially llvm-readobj supports multiple command line options like
`--arm-attributes` and `--mips-plt-got` for display ELF arch-specific
information. Now all these options are superseded by the
`--arch-specific` one. It makes sense to have a single `printArchSpecificInfo`
method in the base `ObjDumper`, and hide all ELF/target specific details
in the `ELFDumper::printArchSpecificInfo` override.

Differential Revision: https://reviews.llvm.org/D68385

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373731 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-readobj/ELFDumper.cpp
tools/llvm-readobj/ObjDumper.h
tools/llvm-readobj/llvm-readobj.cpp