Page MenuHomePhabricator

[llvm-readobj][yaml2obj] Support SHT_LLVM_SYMPART, SHT_LLVM_PART_EHDR and SHT_LLVM_PART_PHDR

Authored by MaskRay on Sep 5 2019, 8:56 AM.



and D60242 for the lld partition feature.

This patch:

  • Teaches yaml2obj to parse the 3 section types.
  • Teaches llvm-readobj/llvm-readelf to dump the 3 section types.

There is no test for SHT_LLVM_DEPENDENT_LIBRARIES in llvm-readobj. Add
it as well.

Diff Detail

Event Timeline

MaskRay created this revision.Sep 5 2019, 8:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 5 2019, 8:56 AM
thakis accepted this revision.Sep 5 2019, 12:11 PM
This revision is now accepted and ready to land.Sep 5 2019, 12:11 PM
This revision was automatically updated to reflect the committed changes.