[llvm] [llvm-exegesis] Add explicit error message with segfault address (PR #74210)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 01:36:07 PST 2023


================
@@ -41,14 +43,19 @@ class ClusteringError : public ErrorInfo<ClusteringError> {
 class SnippetCrash : public ErrorInfo<SnippetCrash> {
 public:
   static char ID;
-  SnippetCrash(const Twine &S) : Msg(S.str()) {}
+  SnippetCrash(const Twine &S)
----------------
boomanaiden154 wrote:

That's true. It makes the assumption that every crash is a segfault which is not correct. I'll refactor it to a separate error.

https://github.com/llvm/llvm-project/pull/74210


More information about the llvm-commits mailing list