[Lldb-commits] [lldb] r283351 - Try to fix Android build.
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 5 12:22:20 PDT 2016
I don't know if that's the problem here, but part of the problem comes from
the fact that android uses it's own standard c library, which does some
things slightly differently. Also, the c++ library is somewhat customized.
On 5 October 2016 at 11:18, Tamas Berghammer via lldb-commits <
lldb-commits at lists.llvm.org> wrote:
> It is using "gcc version 4.9 20150123 (prerelease) (GCC)"
>
> On Wed, Oct 5, 2016 at 11:12 AM Zachary Turner via lldb-commits <
> lldb-commits at lists.llvm.org> wrote:
>
>> I don't know for sure, but I'm guessing it's using GCC, and perhaps even
>> an old one at that.
>>
>> On Wed, Oct 5, 2016 at 11:10 AM Enrico Granata <egranata at apple.com>
>> wrote:
>>
>> Alright, I'll bite and ask...
>>
>> What is so special about the Android bot? Every so often, I'll see it
>> reject a piece of syntax that other compilers gleefully handle
>>
>> On Oct 5, 2016, at 10:58 AM, Zachary Turner via lldb-commits <
>> lldb-commits at lists.llvm.org> wrote:
>>
>> Author: zturner
>> Date: Wed Oct 5 12:58:46 2016
>> New Revision: 283351
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=283351&view=rev
>> Log:
>> Try to fix Android build.
>>
>> Seems it doesn't like the implicit conversion from
>> StringRef[] to ArrayRef<StringRef>.
>>
>> Modified:
>> lldb/trunk/source/Breakpoint/BreakpointID.cpp
>>
>> Modified: lldb/trunk/source/Breakpoint/BreakpointID.cpp
>> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/
>> Breakpoint/BreakpointID.cpp?rev=283351&r1=283350&r2=283351&view=diff
>> ============================================================
>> ==================
>> --- lldb/trunk/source/Breakpoint/BreakpointID.cpp (original)
>> +++ lldb/trunk/source/Breakpoint/BreakpointID.cpp Wed Oct 5 12:58:46
>> 2016
>> @@ -48,7 +48,7 @@ bool BreakpointID::IsValidIDExpression(l
>> }
>>
>> llvm::ArrayRef<llvm::StringRef> BreakpointID::GetRangeSpecifiers() {
>> - return g_range_specifiers;
>> + return llvm::makeArrayRef(g_range_specifiers);
>> }
>>
>> void BreakpointID::GetDescription(Stream *s, lldb::DescriptionLevel
>> level) {
>>
>>
>> _______________________________________________
>> lldb-commits mailing list
>> lldb-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
>>
>>
>>
>> Thanks,
>> *- Enrico*
>> 📩 egranata@.com ☎️ 27683
>>
>> _______________________________________________
>> lldb-commits mailing list
>> lldb-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
>>
>
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161005/920cebdd/attachment-0001.html>
More information about the lldb-commits
mailing list