[lldb-dev] Fixes for gcc compatability

Filipe Cabecinhas filcab+lldb-dev at gmail.com
Tue Aug 23 15:34:11 PDT 2011


Not gcc relate, but a small fix anyway:
liblldb.so doesn't compile with 'make' builds due to a missing dependency.

Fix is attached.

Regards,

  Filipe

On Tue, Aug 23, 2011 at 14:31, Enrico Granata <egranata at apple.com> wrote:

> Fixed in ToT.
>
> Thanks,
>
> *Enrico Granata*
> ✆ 408.974.5572 | ✉ egranata@.com
>
>
> On Aug 23, 2011, at 2:29 PM, Filipe Cabecinhas wrote:
>
> Hi,
>
> I have found two more misplaced commas in lldb.
>
> Regards,
>
>   Filipe
>
> On Thu, Aug 18, 2011 at 18:18, Enrico Granata <egranata at apple.com> wrote:
>
>> New Revision: 138020
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=138020&view=rev
>> Log:
>> - applied a patch by Filipe Cabecinhas to make LLDB compile with GCC
>>
>>  *
>> *
>> Thanks for your patch. Now GCC should be able to compile the debugger
>> *
>> *
>> *Enrico Granata*
>> ✆ 408.974.5572 | ✉ egranata@.com
>>
>>
>>
>>
>> On Aug 18, 2011, at 3:21 PM, Filipe Cabecinhas wrote:
>>
>> Hi,
>>
>> Attached is a patch that removes the trailing commas from some enums, so
>> gcc doesn't error out when compiling llvm+lldb (either on FreeBSD or on Mac
>> OS X).
>>
>> I don't know if you just want lldb to compile with clang or if you want it
>> to work with gcc too.
>>
>> I tried passing CFLAGS to configure to make gcc use c++0x mode (which
>> wouldn't be good for some C files in llvm), but it didn't work, some of them
>> seem to be stripped.
>>
>> Regards,
>>
>>   Filipe
>>
>> <trailing-commas.patch>_______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>>
>>
>>
> <additional-commas.patch>_______________________________________________
>
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110823/eb8d39f3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.patch
Type: application/octet-stream
Size: 353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110823/eb8d39f3/attachment.obj>


More information about the lldb-dev mailing list