[lldb-dev] [Lldb-commits] Patch to make UnwindPlan not segfault

Jim Ingham jingham at apple.com
Fri Feb 24 09:14:56 PST 2012


Thanks, committed.

lldb-dev is the normally the correct place for patches.

Jim

On Feb 24, 2012, at 3:48 AM, Filipe Cabecinhas wrote:

> Hi, 
> 
> The UnwindPlan class has a minor typo, which makes it segfault when log lldb.unwind is on.
> 
> Testcase:
> $ lldb some-program
> (lldb) b main
> (lldb) run
> (lldb) log enable lldb unwind
> (lldb) next
> *SEGFAULT*
> 
> The lldb included in Xcode 4.3 has this bug.
> The HEAD revision has this bug.
> 
> Attached is a patch to fix this. m_full_unwind_plan_sp was being used instead of m_fast_unwind_plan_sp 
> 
> Regards,
> 
>  Filipe
> 
> P.S: To which list should I send patches? lldb-commits or lldb-dev?
> 
> <lldb-wrong-unwind-plan.patch>_______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits




More information about the lldb-dev mailing list