[all-commits] [llvm/llvm-project] 357dc1: [obj2yaml] - Cleanup error reporting (remove Error...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Aug 26 04:26:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 357dc1ed125e4bf55f1e99fb141fc054c285edbf
      https://github.com/llvm/llvm-project/commit/357dc1ed125e4bf55f1e99fb141fc054c285edbf
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-08-26 (Wed, 26 Aug 2020)

  Changed paths:
    M llvm/tools/obj2yaml/CMakeLists.txt
    R llvm/tools/obj2yaml/Error.cpp
    R llvm/tools/obj2yaml/Error.h
    M llvm/tools/obj2yaml/dwarf2yaml.cpp
    M llvm/tools/obj2yaml/elf2yaml.cpp
    M llvm/tools/obj2yaml/macho2yaml.cpp
    M llvm/tools/obj2yaml/minidump2yaml.cpp
    M llvm/tools/obj2yaml/obj2yaml.cpp

  Log Message:
  -----------
  [obj2yaml] - Cleanup error reporting (remove Error.cpp/.h files)

This removes Error.cpp/.h files from obj2yaml.
These files are not needed because we are
using `Error`s instead of error codes widely and do
not need a logic related to obj2yaml specific
error codes anymore.

I had to adjust just a few lines of tool's code
to remove remaining dependencies.

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




More information about the All-commits mailing list