[all-commits] [llvm/llvm-project] 313e7d: [llvm-exegesis] Use explicit error classes for dif...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Dec 11 00:41:03 PST 2023


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

  Changed paths:
    M llvm/test/tools/llvm-exegesis/X86/latency/subprocess-abnormal-exit-code.s
    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] Use explicit error classes for different snippet crashes

This patch switches to using explicit snippet crashes that contain more
information about the specific type of error (like the address for a
segmentation fault) that occurred. All these new error classes inherit
from SnippetExecutionFailure to allow for easily grabbing all of them in
addition to filtering for specific types using the standard LLVM error
primitives.




More information about the All-commits mailing list