Page MenuHomePhabricator

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

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

Details

Summary

See http://lists.llvm.org/pipermail/llvm-dev/2019-February/130583.html
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.Thu, Sep 5, 8:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptThu, Sep 5, 8:56 AM
thakis accepted this revision.Thu, Sep 5, 12:11 PM
This revision is now accepted and ready to land.Thu, Sep 5, 12:11 PM
This revision was automatically updated to reflect the committed changes.