This is an archive of the discontinued LLVM Phabricator instance.

[yaml2obj] Add default sh_entsize for dynamic sections
ClosedPublic

Authored by paulsemel on Jul 20 2018, 3:05 PM.

Details

Summary

Dynamic section holds a table, so the sh_entsize might be set. As the dynamic section entry size never changes, we can default it to the size of a dynamic entry.

Diff Detail

Repository
rL LLVM

Event Timeline

paulsemel created this revision.Jul 20 2018, 3:05 PM
ruiu accepted this revision.Jul 23 2018, 11:10 AM

LGTM

This revision is now accepted and ready to land.Jul 23 2018, 11:10 AM
This revision was automatically updated to reflect the committed changes.