[PATCH] D77805: [obj2yaml] - Teach obj2yaml to dump SHT_NOBITS sections when dumping program headers.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 07:34:57 PDT 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
grimar added a parent revision: D77652: [obj2yaml] - Fix the issue with dumping empty sections when dumping program headers..
grimar added a comment.
grimar planned changes to this revision.

Rebased on top of D77652 <https://reviews.llvm.org/D77652>.


grimar added a comment.

I'll add one more test case.


SHT_NOBITS are a bit special because occupy no physical space.
This patch adds support for them.


https://reviews.llvm.org/D77805

Files:
  llvm/test/tools/obj2yaml/program-headers.yaml
  llvm/tools/obj2yaml/elf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77805.256298.patch
Type: text/x-patch
Size: 4427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200409/91d1e568/attachment.bin>


More information about the llvm-commits mailing list