[Lldb-commits] [lldb] [lldb] Start using formatv() in RegisterContextUnwind (NFCI) (PR #191576)

Sergei Barannikov via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 13 09:50:04 PDT 2026


================
@@ -2169,8 +2191,9 @@ lldb::addr_t RegisterContextUnwind::GetReturnAddressHint(int32_t plan_offset) {
                 *next->m_sym_ctx.symbol))
       hint += *expected_size;
     else {
-      UnwindLogMsgVerbose("Could not retrieve parameter size: %s",
-                          llvm::toString(expected_size.takeError()).c_str());
+      Log *log = GetLog(LLDBLog::Unwind);
+      UNWIND_LOG_VERBOSE(log, "Could not retrieve parameter size: {0}",
----------------
s-barannikov wrote:

Inlined it here and in a couple of other places.

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


More information about the lldb-commits mailing list