This is an archive of the discontinued LLVM Phabricator instance.

[llvm-readelf] - Stop using 'unwrapOrError()' in 'ELFDumper<ELFT>::getSymbolVersion'.
ClosedPublic

Authored by grimar on Jul 8 2020, 6:40 AM.

Details

Summary

This allows to propagate an error and report a warning properly.

Diff Detail

Event Timeline

grimar created this revision.Jul 8 2020, 6:40 AM
Herald added a project: Restricted Project. · View Herald Transcript
MaskRay accepted this revision.Jul 8 2020, 11:08 AM

LGTM.

This revision is now accepted and ready to land.Jul 8 2020, 11:08 AM
jhenderson accepted this revision.Jul 9 2020, 12:36 AM

LGTM too.

This revision was automatically updated to reflect the committed changes.