[PATCH] D11839: Adding SymbolRef::getSectionName for getting a textual section name for the symbol. Updating llvm-objdump to use this

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 06:41:55 PDT 2015


> It still seems unfortunate to inject objdump specific functions in to the Object library.  If there are ideas on a cleaner way to generate this name WRT to placement and being able to access required functionality, I'm open to input.

Yes, please put all this in llvm-objdump. We only have 3 object
formats, so this shouldn't be too bad. Being in objdump should allow
you to also just pass the stream into these functions instead of
computing a string that is then printed.

Cheers,
Rafael


More information about the llvm-commits mailing list