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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
| Paths 
 |  Differential  D49619  
[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 
 Event TimelineThis revision is now accepted and ready to land.Jul 23 2018, 11:10 AM Closed by commit rL337725: [yaml2obj] Add default sh_entsize for dynamic sections (authored by paulsemel).  ·  Explain WhyJul 23 2018, 11:49 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 156852 llvm/trunk/test/tools/yaml2obj/dynamic-section.yaml
 llvm/trunk/tools/yaml2obj/yaml2elf.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||