[Lldb-commits] [lldb] 9a8d42e - [lldb/Plugin] Fix implicit	conversion in GDBRemote
    Jonas Devlieghere via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Tue Jan 28 15:17:21 PST 2020
    
    
  
Author: Jonas Devlieghere
Date: 2020-01-28T15:16:56-08:00
New Revision: 9a8d42e60803ba0b67b3669630530de04cafc079
URL: https://github.com/llvm/llvm-project/commit/9a8d42e60803ba0b67b3669630530de04cafc079
DIFF: https://github.com/llvm/llvm-project/commit/9a8d42e60803ba0b67b3669630530de04cafc079.diff
LOG: [lldb/Plugin] Fix implicit conversion in GDBRemote
Added: 
    
Modified: 
    lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
Removed: 
    
################################################################################
diff  --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
index cac26745a6bf..abb8f63b8b52 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
@@ -1228,7 +1228,7 @@ void GDBRemoteCommunicationServerCommon::
     if (cpu_subtype != 0)
       response.Printf("cpusubtype:%" PRIx32 ";", cpu_subtype);
 
-    const std::string vendor = proc_triple.getVendorName();
+    const std::string vendor = proc_triple.getVendorName().str();
     if (!vendor.empty())
       response.Printf("vendor:%s;", vendor.c_str());
 #else
        
    
    
More information about the lldb-commits
mailing list