[llvm-dev] DWARF info in readobj

Davide Italiano via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 15 12:53:34 PDT 2015


On Tue, Sep 15, 2015 at 12:16 PM, Hemant Kulkarni via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Hi All,
>
>
>
> I see that llvm-readobj displays information similar to GNU readelf does
> except DWARF data. I also see llvm-dwarfdump dumps all DWARF data in user
> readable format. Is there a plan for readobj to incorporate similar options?
> This will make readobj more feature complete for reading objects similar to
> readelf.
>
>
>
> If this is not the plan, will llvm-dwarfdump be a tool that regular user can
> use and rely on or it is only for compiler/tools developers?
>

My vote (and long term-plan, if there's consensus) is for integrating
dwarfdump into readobj and just get rid of llvm-dwarfdump (or make it
a tiny wrapper around llvm-readobj), similarly to what I recently did
with macho-dump. There's seriously no need to duplicate functionality
across tools. An analogous argument holds for llvm-readobj and
llvm-objdump.

My $0.02,

-- 
Davide

"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare


More information about the llvm-dev mailing list