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

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Dec 11 23:16:10 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5830e8e7458f3605f67a33439592432cc599ea40
      https://github.com/llvm/llvm-project/commit/5830e8e7458f3605f67a33439592432cc599ea40
  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
    M llvm/tools/llvm-exegesis/llvm-exegesis.cpp

  Log Message:
  -----------
  [llvm-exegesis] Use explicit error classes for different snippet crashes (#74210)

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