This is an archive of the discontinued LLVM Phabricator instance.

[llvm-readobj/elf] - Don't use unwrapOrError when reporting errors about SHT_DYNAMIC sections.
ClosedPublic

Authored by grimar on Sep 11 2020, 3:36 AM.

Details

Summary

This changes messages reported to stop using dynamic section names (use describe() instead).
This allows to avoid unwrapOrError and improves diagnostics.

Diff Detail

Event Timeline

grimar created this revision.Sep 11 2020, 3:36 AM
Herald added a project: Restricted Project. · View Herald Transcript
grimar requested review of this revision.Sep 11 2020, 3:36 AM
This revision is now accepted and ready to land.Sep 14 2020, 4:47 AM