This is an archive of the discontinued LLVM Phabricator instance.

[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,
the e_shnum field wasn't set correctly.

This patch fixes this bug.

Diff Detail

Event Timeline

grimar created this revision.Jul 16 2020, 4:16 AM
Herald added a project: Restricted Project. · View Herald Transcript
jhenderson accepted this revision.Jul 16 2020, 4:21 AM

LGTM, thanks.

This revision is now accepted and ready to land.Jul 16 2020, 4:21 AM
This revision was automatically updated to reflect the committed changes.