[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:19:24 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:

https://github.com/llvm/llvm-project/pull/74211 adds additional support (including a getter). https://github.com/google/gematria/pull/30 shows the usage on top of that PR.

All good on the conflicting recommendations. I definitely should've provided more context to make things easier for you.

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


More information about the llvm-commits mailing list