Patch to make UnwindPlan not segfault


The UnwindPlan class has a minor typo, which makes it segfault when log lldb.unwind is on.

$ lldb some-program
(lldb) b main
(lldb) run
(lldb) log enable lldb unwind
(lldb) next

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



P.S: To which list should I send patches? lldb-commits or lldb-dev?

lldb-wrong-unwind-plan.patch (859 Bytes)

Thanks, committed.

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