[llvm] [llubi] Improve diagnostics and add stacktrace (PR #195449)
Antonio Frighetto via llvm-commits
llvm-commits at lists.llvm.org
Sat May 2 06:44:15 PDT 2026
================
@@ -102,6 +118,35 @@ class ExecutorBase {
std::optional<ProgramExitInfo> getExitInfo() const;
unsigned getIntSize() const;
+
+ void dumpStackTrace() const;
+};
+
+class DiagnosticReporter {
+ ExecutorBase &Executor;
+ std::string Buf;
+ raw_string_ostream OS;
+ DiagnosticKind Kind;
+
+public:
+ DiagnosticReporter(ExecutorBase &E, DiagnosticKind K)
----------------
antoniofrighetto wrote:
I'd make explicit copy/move constructors and assignments as deleted.
https://github.com/llvm/llvm-project/pull/195449
More information about the llvm-commits
mailing list