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

Sergei Barannikov via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 10 17:14:25 PDT 2026


================
@@ -1940,13 +1959,14 @@ bool RegisterContextUnwind::ForceSwitchToFallbackUnwindPlan() {
   if (active_row &&
       active_row->GetCFAValue().GetValueType() !=
           UnwindPlan::Row::FAValue::unspecified) {
+    Log *log = GetLog(LLDBLog::Unwind);
----------------
s-barannikov wrote:

Is it fine for a log to have a local scope or should I move it to the start of the function?


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


More information about the lldb-commits mailing list