[PATCH] D18224: llvm-readobj: GNU style symbols printing
khemant@codeaurora.org via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 17 16:26:20 PDT 2016
khemant added inline comments.
================
Comment at: tools/llvm-readobj/ELFDumper.cpp:184
@@ -184,2 +183,3 @@
const Elf_Shdr *DotSymtabSec = nullptr;
+ const Elf_Shdr *DotDynSymtabSec = nullptr;
ArrayRef<Elf_Word> ShndxTable;
----------------
khemant wrote:
> rafael wrote:
> > Please avoid adding this.
> >
> > You can use dynamic_symbols.
> >
> I need a way to get the name of the symbol table (both static and dynamic) when the section is present. Any ideas how do I do it?
>
>
Perhaps storing section name as a StringRef (if found in symbol table) is acceptable?
Repository:
rL LLVM
http://reviews.llvm.org/D18224
More information about the llvm-commits
mailing list