[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:14:43 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:

All right, sorry for the conflicting recommendations. It's hard to know exactly what the best approach is given that I can't see how you want to use it downstream. 

How are you accessing the signal and address if there are no getters for these ?

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


More information about the llvm-commits mailing list