[all-commits] [llvm/llvm-project] e03a13: Re-land "Migrate Binary::checkOffset from error_co...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Fri Jun 5 16:27:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e03a135be8cf912fbfeac11c28d0132b52f1fb07
      https://github.com/llvm/llvm-project/commit/e03a135be8cf912fbfeac11c28d0132b52f1fb07
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-06-05 (Fri, 05 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Object/Binary.h
    M llvm/include/llvm/Object/ELFObjectFile.h
    M llvm/lib/Object/COFFObjectFile.cpp
    M llvm/lib/Object/XCOFFObjectFile.cpp

  Log Message:
  -----------
  Re-land "Migrate Binary::checkOffset from error_code to Error, NFC"

This reverts commit 38f3ba591e3a64fa5bbe684b3171c7bda6c5b527.

Fix the XCOFF error handling. Unlike std::error_code, Error must be
consumed or handled.




More information about the All-commits mailing list