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

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Dec 11 19:24:49 PST 2023


  Branch: refs/heads/users/boomanaiden154/exegesis-segfault-address
  Home:   https://github.com/llvm/llvm-project
  Commit: cea1b1c9da70d5201f2bfcfcba31cd9d95d452c2
      https://github.com/llvm/llvm-project/commit/cea1b1c9da70d5201f2bfcfcba31cd9d95d452c2
  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

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.


  Commit: 3c144abdee48a5adb4757f2ec9859be2b9b8edfb
      https://github.com/llvm/llvm-project/commit/3c144abdee48a5adb4757f2ec9859be2b9b8edfb
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

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

  Log Message:
  -----------
  Only return signals on Unix


Compare: https://github.com/llvm/llvm-project/compare/313e7d3f6bb5...3c144abdee48


More information about the All-commits mailing list