[all-commits] [llvm/llvm-project] 205292: [llvm-exegesis] Improve error reporting in Benchma...

Miloš Stojanović via All-commits all-commits at lists.llvm.org
Fri Feb 7 07:30:17 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 205292740d88101e5124780c7bbee60b33bf2919
      https://github.com/llvm/llvm-project/commit/205292740d88101e5124780c7bbee60b33bf2919
  Author: Miloš Stojanović <Milos.Stojanovic at rt-rk.com>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
    M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
    M llvm/tools/llvm-exegesis/lib/Error.cpp
    M llvm/tools/llvm-exegesis/lib/Error.h
    M llvm/tools/llvm-exegesis/llvm-exegesis.cpp

  Log Message:
  -----------
  [llvm-exegesis] Improve error reporting in BenchmarkRunner.cpp

Followup to D74085.
Replace the use of `report_fatal_error()` with returning the error to
`llvm-exegesis.cpp` and handling it there.
To facilitate this, a new `Error` type has been added which is only used
to log errors to the yaml output.

Differential Revision: https://reviews.llvm.org/D74215




More information about the All-commits mailing list