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

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 01:19:53 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)
----------------
legrosbuffle wrote:

Coming back to that patch to try to see whay I made that remark: I think that this was to avoid the `if (!E.isA<SnippetCrash>() && !E.isA<SnippetSegfaultCrash>())`. This is kind of related to https://github.com/llvm/llvm-project/pull/74211.

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


More information about the llvm-commits mailing list