When setting the NoHeaders to false,
the e_shnum field wasn't set correctly.
This patch fixes this bug.
Paths
| Differential D83941
[yaml2obj] - Fix an issue with NoHeaders key. ClosedPublic Authored by grimar on Jul 16 2020, 4:16 AM.
Details Summary When setting the NoHeaders to false, This patch fixes this bug.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jul 16 2020, 4:21 AM Closed by commit rGed605b7b96b9: [yaml2obj] - Fix an issue with NoHeaders key. (authored by grimar). · Explain WhyJul 16 2020, 4:23 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 278426 llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/test/tools/yaml2obj/ELF/section-headers.yaml
|