This is an archive of the discontinued LLVM Phabricator instance.

[llvm-readobj] - Do not report invalid amount of sections.
ClosedPublic

Authored by grimar on Jul 19 2018, 7:02 AM.

Details

Summary

When output style is GNU and amount of sections is >= SHN_LORESERVE,
llvm-readobj reports zero number of sections instead of actual value.

The patch fixes that.

Diff Detail

Repository
rL LLVM

Event Timeline

grimar created this revision.Jul 19 2018, 7:02 AM
grimar updated this revision to Diff 156263.Jul 19 2018, 7:04 AM
grimar edited the summary of this revision. (Show Details)
grimar added a reviewer: jhenderson.
grimar added subscribers: llvm-commits, grimar, evgeny777, ikudrin.
  • Cosmetic change.
This revision is now accepted and ready to land.Jul 19 2018, 7:41 AM
This revision was automatically updated to reflect the committed changes.