[lldb-dev] LLDB linux questions

arvid.picciani at nokia.com arvid.picciani at nokia.com
Mon Sep 27 04:09:38 PDT 2010


> Secondly, in include/lldb/Target/Thread.h can we do the unwind.h include a bit different? On linux, you'd have to use a different lib,
> which is incompatible with the included headers. #include "libunwind.h" and extend the includepath to the local libunwind/include/ on osx
> would work,

Seems to be as simple as that. The attached patch makes it still compile under xcode for me, while enabling correct inclusion under Linux by 
removing the local unwind headers from the includes. Please test yourself before applying, as i'm fairly new to xcode and might have done something wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libunwind.patch
Type: text/x-patch
Size: 438 bytes
Desc: libunwind.patch
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20100927/27874abe/attachment.bin>


More information about the lldb-dev mailing list