HomePhabricator

[llvm-readobj/elf] - Don't use unwrapOrError when reporting errors about…

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

Description

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

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

Differential revision: https://reviews.llvm.org/D87503