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


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to