[PATCH] D18224: llvm-readobj: GNU style symbols printing

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 17 15:32:29 PDT 2016


rafael added a comment.

Can symbols-proc-specific.elf-hexagon be created with llvm-mc?


================
Comment at: tools/llvm-readobj/ELFDumper.cpp:47
@@ -46,1 +46,3 @@
 
+#define ELF_VISIBILITY(other) ((other)&0x3)
+
----------------
There is a getVisibility in Elf_Sym.

================
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;
----------------
Please avoid adding this.

You can use dynamic_symbols.



Repository:
  rL LLVM

http://reviews.llvm.org/D18224





More information about the llvm-commits mailing list