[Lldb-commits] [lldb] [lldb] Don't crash if no default unwind plan (PR #152481)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 4 11:10:22 PDT 2025


================
@@ -426,9 +426,12 @@ void RegisterContextUnwind::InitializeNonZerothFrame() {
       }
     }
 
-    if (abi_sp) {
-      m_fast_unwind_plan_sp.reset();
+    m_fast_unwind_plan_sp.reset();
+    m_full_unwind_plan_sp.reset();
----------------
bulbazord wrote:

Is it necessary to clear these if `abi_sp` is not valid? Seems like the only change needed is the check for `m_full_unwind_plan_sp` below.

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


More information about the lldb-commits mailing list