[PATCH] D95591: [yaml2obj/obj2yaml] - Implement program header table as a special Chunk.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 20:26:10 PST 2021


MaskRay requested changes to this revision.
MaskRay added a comment.
This revision now requires changes to proceed.

This change will make `obj2yaml` crash on a binary processed by `llvm-strip --remove-sections`.

Program headers are not subsidiary of the section header table. `ProgramHeaderType` is fine, but it probably should not have `Segments:`. The program headers can still be described the current `ProgramHeaders:`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95591/new/

https://reviews.llvm.org/D95591



More information about the llvm-commits mailing list