[PATCH] Add -bare option to llvm-objdump

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Sep 11 07:03:50 PDT 2014


> 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)

>> 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



More information about the llvm-commits mailing list