This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by MaskRay on Sep 5 2019, 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.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.