[all-commits] [llvm/llvm-project] 901722: [llvm-exegesis]Allow clients to do their own snipp...

Clement Courbet via All-commits all-commits at lists.llvm.org
Fri Dec 8 04:01:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9017229ecda119e7977739dcab125e455289ade6
      https://github.com/llvm/llvm-project/commit/9017229ecda119e7977739dcab125e455289ade6
  Author: Clement Courbet <courbet at google.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

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

  Log Message:
  -----------
  [llvm-exegesis]Allow clients to do their own snippet running error ha… (#74711)

…ndling.

Returns an error *and* a benchmark rather than an error *or* a
benchmark. This allows users to have custom error handling while still
being able to inspect the benchmark.

Apart from this small API change, this is an NFC.

This is an alternative to #74211.




More information about the All-commits mailing list