[PATCH] D17523: llvm-readobj: enable GNU output style sections and relocations printing for ELF files

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 8 06:25:36 PST 2016


rafael added inline comments.

================
Comment at: tools/llvm-readobj/ELFDumper.cpp:956
@@ +955,3 @@
+  std::string Str;
+  for (auto entry : ElfSectionFlags) {
+    uint64_t Flag = entry.Value & Flags;
----------------
Entry

================
Comment at: tools/llvm-readobj/ELFDumper.cpp:960
@@ +959,3 @@
+    case ELF::SHF_WRITE:
+      Str += "W";
+      break;
----------------
These are just Entry.AltName, no?


Repository:
  rL LLVM

http://reviews.llvm.org/D17523





More information about the llvm-commits mailing list