[Lldb-commits] [lldb] r247267 - Fix crash in lldb-server caused by an API change in LLVM

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 10 04:08:42 PDT 2015


Author: tberghammer
Date: Thu Sep 10 06:08:41 2015
New Revision: 247267

URL: http://llvm.org/viewvc/llvm-project?rev=247267&view=rev
Log:
Fix crash in lldb-server caused by an API change in LLVM

Modified:
    lldb/trunk/tools/lldb-server/LLDBServerUtilities.cpp

Modified: lldb/trunk/tools/lldb-server/LLDBServerUtilities.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-server/LLDBServerUtilities.cpp?rev=247267&r1=247266&r2=247267&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-server/LLDBServerUtilities.cpp (original)
+++ lldb/trunk/tools/lldb-server/LLDBServerUtilities.cpp Thu Sep 10 06:08:41 2015
@@ -42,7 +42,7 @@ LLDBServerUtilities::SetupLogging(const
     }
 
     SmallVector<StringRef, 32> channel_array;
-    log_channels.split(channel_array, ":");
+    log_channels.split(channel_array, ":", /*MaxSplit*/ -1, /*KeepEmpty*/ false);
     for (auto channel_with_categories : channel_array)
     {
         StreamString error_stream;




More information about the lldb-commits mailing list