[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


================
@@ -144,4 +166,19 @@ std::optional<ProgramExitInfo> ExecutorBase::getExitInfo() const {
 unsigned ExecutorBase::getIntSize() const {
   return CurrentFrame->TLI.getIntSize();
 }
+
+void ExecutorBase::dumpStackTrace() const {
+  errs() << "Stacktrace:\n";
+  const Frame *Frm = CurrentFrame;
----------------
antoniofrighetto wrote:

No abbreviations when possible, s/Frm/TheFrame/g

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


More information about the llvm-commits mailing list