diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-28 15:16:56 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-28 15:16:56 -0800 |
commit | 9a8d42e60803ba0b67b3669630530de04cafc079 (patch) | |
tree | 8638d41c7aadd91fd8bab9b56a649441f79e08f2 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | |
parent | e9326ed9067834dca0a1fe752a55c534ed938f8c (diff) | |
download | llvm-9a8d42e60803ba0b67b3669630530de04cafc079.zip llvm-9a8d42e60803ba0b67b3669630530de04cafc079.tar.gz llvm-9a8d42e60803ba0b67b3669630530de04cafc079.tar.bz2 |
[lldb/Plugin] Fix implicit conversion in GDBRemote
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp index cac2674..abb8f63 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 |