[Lldb-commits] [lldb] r283351 - Try to fix Android build.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 5 10:58:46 PDT 2016


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) {




More information about the lldb-commits mailing list