[PATCH] Add -bare option to llvm-objdump

Sean Silva chisophugis at gmail.com
Thu Sep 11 12:58:23 PDT 2014


On Thu, Sep 11, 2014 at 7:03 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> > I've never used otools, but presumably Kevin has some idea here.
>
> BTW, this is a side discussion, but since it came up, IMHO:
>
> * It would be awesome to have a llvm-ootol if someone wants to write it.
> * It is sufficiently different from objdump from an user perspective
> that it should probably be another command.
> * If there are lots of code sharing opportunity, maybe a single binary
> that checks argv[0] (like llvm-ranlib or now lld)
>

Yeah, I like these ideas. Another alternative is that we also have
precedent (llvm-nm, llvm-size) for -format=foo to select output formats.

-- Sean Silva




>
> >> What is your goal?
>
> >A symbolizing disassembler with at least the possibility to tune output
> to match existing norms per host platform.
>
> We should probably evaluate this on a case by case basis. On the
> particular case of symbolization, I think the main questions are
>
> * In which platforms symbolization is not the default for objdump -d.
> * What option is used to enable/disable it?
> * Would users on that platform really see it as bad thing that
> llvm-objdump symbolizes and the system one does not?
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140911/61172332/attachment.html>


More information about the llvm-commits mailing list