Implements symbols printing similar to
readelf -sW
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
The patch to upstream the processor specific flags for small area is not yet in the Hexagon backend. That is why I made a binary. I do not know of other backends that can get me this flag.
tools/llvm-readobj/ELFDumper.cpp | ||
---|---|---|
47 | Got it. Will use it | |
182 | 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? |
tools/llvm-readobj/ELFDumper.cpp | ||
---|---|---|
182 | Perhaps storing section name as a StringRef (if found in symbol table) is acceptable? |
Incorporated the comments.
Removed storing the section header. Instead if section header present for DT_DYNSYM, save the name.
There is a getVisibility in Elf_Sym.