[all-commits] [llvm/llvm-project] c4a769: [llvm-exegesis] Print errno on failures in subprocess

Aiden Grossman via All-commits all-commits at lists.llvm.org
Tue Sep 5 12:42:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4a769ba03e4738340e28f2697ae1a2b972cd845
      https://github.com/llvm/llvm-project/commit/c4a769ba03e4738340e28f2697ae1a2b972cd845
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

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

  Log Message:
  -----------
  [llvm-exegesis] Print errno on failures in subprocess

Some error logging in llvm-exegesis under the subprocess executor just
prints a generic failure information rather than any details about the
error as we omit printing the string version of errno. This patch adds
in printing errno at all relevant points in the subprocess executor that
were previously missed.

Reviewed By: courbet

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




More information about the All-commits mailing list