[lldb-dev] Patch to make UnwindPlan not segfault

Filipe Cabecinhas filcab at gmail.com
Fri Feb 24 03:48:44 PST 2012


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb-wrong-unwind-plan.patch
Type: application/octet-stream
Size: 859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20120224/0d04cbce/attachment.obj>


More information about the lldb-dev mailing list