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

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 06:41:58 PDT 2015


rafael added a subscriber: rafael.
rafael added a comment.

> 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


http://reviews.llvm.org/D11839





More information about the llvm-commits mailing list