I was trying to see how far I could get debugging with arm64 (not far yet) but the code in attach patch catch the abi not existing yet, instead of crashing in GetSourceName() it just logs that there's no unwind frame. If oke I'll commit.
--
Carlo Kok
RemObjects Software
Index: 
C:/Projects/oxygene-nougat-llvm/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
===================================================================
--- 
C:/Projects/oxygene-nougat-llvm/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
 (revision 191382)
+++ 
C:/Projects/oxygene-nougat-llvm/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
 (working copy)
@@ -759,7 +759,10 @@
     }
 
     // If nothing else, use the architectural default UnwindPlan and hope that 
does the job.
-    UnwindLogMsgVerbose ("frame uses %s for full UnwindPlan", 
arch_default_unwind_plan_sp->GetSourceName().GetCString());
+    if (arch_default_unwind_plan_sp)
+      UnwindLogMsgVerbose ("frame uses %s for full UnwindPlan", 
arch_default_unwind_plan_sp->GetSourceName().GetCString());
+    else 
+      UnwindLogMsgVerbose ("no unwind plan for frame! in 
GetFullUnwindPlanForFrame()");
     return arch_default_unwind_plan_sp;
 }
 
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to