[PATCH] D75342: [obj2yaml] - Teach tool to dump program headers.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 05:00:02 PST 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay, labath, rupprecht.
Herald added a subscriber: mgrang.
Herald added a project: LLVM.
grimar added parent revisions: D74955: [obj2yaml] - Dump allocatable SHT_STRTAB, SHT_SYMTAB and SHT_DYNSYM sections., D75172: [obj2yaml] - Split sections dumping to a new ELFDumper<ELFT>::dumpSections() method..
grimar edited the summary of this revision.
grimar marked an inline comment as done.
grimar added inline comments.


================
Comment at: llvm/tools/obj2yaml/elf2yaml.cpp:326
+        Ret.emplace_back(S.release());
+      }
       break;
----------------
This change will go away after we land https://reviews.llvm.org/D74955


Currently obj2yaml does not dump program headers,
this patch teaches it to do that.

Depends on D75172 <https://reviews.llvm.org/D75172>, D74955 <https://reviews.llvm.org/D74955>.


https://reviews.llvm.org/D75342

Files:
  llvm/include/llvm/ObjectYAML/ELFYAML.h
  llvm/test/Object/obj2yaml.test
  llvm/test/tools/obj2yaml/program-headers.yaml
  llvm/tools/obj2yaml/elf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75342.247225.patch
Type: text/x-patch
Size: 11647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200228/a8797c3a/attachment.bin>


More information about the llvm-commits mailing list