[all-commits] [llvm/llvm-project] 79c7d3: Recommit: "[llvm-exegesis] Improve error reporting...

Miloš Stojanović via All-commits all-commits at lists.llvm.org
Wed Feb 19 05:41:51 PST 2020


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

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/Assembler.cpp
    M llvm/tools/llvm-exegesis/lib/Assembler.h
    M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
    M llvm/unittests/tools/llvm-exegesis/Common/AssemblerUtils.h

  Log Message:
  -----------
  Recommit: "[llvm-exegesis] Improve error reporting in Assembler.cpp"

Summary: Commit 63bb9fee525f8f29fd9c2174fa7f15573c3d1fd7 was reverted in
7603bfb4b0a6a90137d47f0182a490fe54bf7ca3 because it broke builds that treat
warnings as errors.
This commit updates the calls to `assembleToStream()` in tests to check that
the return value is valid.

Original commit message:

Followup to D74084.
Replace the use of `report_fatal_error()` with returning the error to
`llvm-exegesis.cpp` and handling it there.

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




More information about the All-commits mailing list