[all-commits] [llvm/llvm-project] 592ab2: [llvm-exegesis] Add explicit error message with se...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Sat Dec 2 13:34:39 PST 2023


  Branch: refs/heads/users/boomanaiden154/exegesis-segfault-address
  Home:   https://github.com/llvm/llvm-project
  Commit: 592ab2122dbe5c38712b5b9fc17126308783467a
      https://github.com/llvm/llvm-project/commit/592ab2122dbe5c38712b5b9fc17126308783467a
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-12-02 (Sat, 02 Dec 2023)

  Changed paths:
    M llvm/test/tools/llvm-exegesis/X86/latency/subprocess-segfault.s
    M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
    M llvm/tools/llvm-exegesis/lib/Error.cpp
    M llvm/tools/llvm-exegesis/lib/Error.h

  Log Message:
  -----------
  [llvm-exegesis] Add explicit error message with segfault address

This patch special cases the segfault case for the subprocess executor,
giving the exact address of a segfault when one occurs in the
subprocess. This makes it a lot easier to debug where things are going
wrong in the snippet.




More information about the All-commits mailing list