[Lldb-commits] MinGW compilation support

Virgile Bello virgile.bello at gmail.com
Mon Jul 8 02:27:37 PDT 2013


Ha yes I remember this part.
I delayed it because I wasn't sure if it might not be better to handle this
translation directly in Error class (i.e. error.GetSocketError() with
specific Windows implementation). That would avoid lot of #ifdef in all
socket code.


On Mon, Jul 8, 2013 at 3:54 PM, Carlo Kok <ck at remobjects.com> wrote:

> Op 7-7-2013 11:44, Virgile Bello schreef:
>
>  Here is a patch allowing compilation of LLDB with MinGW.
>> (it still compiles on Linux after the patch)
>> Can someone please review (and merge in trunk if everything seems good)?
>>
>> Soon some other patches should follow:
>> - 1 for MSVC compilation
>> - 1 to add a lldbProcessWindows using Win32 debugging API, so that
>> gdb/clang compiled programs can be debugged in Windows.
>>
>> Hopefully I can get all this into trunk quickly so that I don't need to
>> rebase/merge too much.
>> Thanks!
>>
>
>
> Patch looks good. the only thing I'm missing is the error handing in
> ConnectionFileDescriptor.cpp, though that can be done as an incremental
> patch (Windows sockets return WSAWOULDBLOCK instead of EAGAIN etc), see:
> http://llvm.org/svn/llvm-**project/lldb/branches/windows/**source/Core/**
> ConnectionFileDescriptor.cpp<http://llvm.org/svn/llvm-project/lldb/branches/windows/source/Core/ConnectionFileDescriptor.cpp>
>
> in the Windows part.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130708/818c7d37/attachment.html>


More information about the lldb-commits mailing list