It has following issues:
- getStaticSymbolName returns std::string, but the code assigns a result to Expected<std::string>.
- The code uses unwrapOrError and never tests the error reported.
This patch fixes these issues.
Paths
| Differential D87507
[llvm-readobj] - Cleanup implementation LLVMStyle<ELFT>::printAddrsig(). ClosedPublic Authored by grimar on Sep 11 2020, 4:44 AM.
Details Summary It has following issues:
This patch fixes these issues.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 11 2020, 11:02 PM Closed by commit rG14e191a0e7c5: [llvm-readobj] - Cleanup implementation LLVMStyle<ELFT>::printAddrsig(). (authored by grimar). · Explain WhySep 14 2020, 4:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 291543 llvm/test/tools/llvm-readobj/ELF/addrsig.test
llvm/tools/llvm-readobj/ELFDumper.cpp
|