[all-commits] [llvm/llvm-project] 1f84ac: [llvm-readobj] - Refine error reporting in MipsGOT...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Jul 8 02:06:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f84ace3c7266564801d79185ebb05eb451205f1
      https://github.com/llvm/llvm-project/commit/1f84ace3c7266564801d79185ebb05eb451205f1
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/mips-got.test
    M llvm/test/tools/llvm-readobj/ELF/mips-plt.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj] - Refine error reporting in MipsGOTParser<ELFT> helper.

This is a follow-up for D83225. This does the following:
1) Adds missing tests for existent errors.
2) Stops using `unwrapOrError` to propagate errors to caller.
   (I am trying to get rid of all `unwrapOrErr` calls in the llvm-readelf code).
3) Improves error messages reported slightly.

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




More information about the All-commits mailing list