[all-commits] [llvm/llvm-project] 74bd98: Migrate Binary::checkOffset from error_code to Err...

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 74bd98829d82312676a60c5c2d142e20691b2f13
      https://github.com/llvm/llvm-project/commit/74bd98829d82312676a60c5c2d142e20691b2f13
  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:
  -----------
  Migrate Binary::checkOffset from error_code to Error, NFC

In my use case, this saved 100ms of time doing one-time-initialization
for std::error_code().




More information about the All-commits mailing list