summaryrefslogtreecommitdiffstats
path: root/lldb/tools
diff options
context:
space:
mode:
authorOmair Javaid <omair.javaid@linaro.org>2016-11-21 15:18:58 +0000
committerOmair Javaid <omair.javaid@linaro.org>2016-11-21 15:18:58 +0000
commit6a44ea8c0a1e090a7cd242e856d4a0c3893fba40 (patch)
tree07db60aa58e9a6c56764fbe92c70293c6790a70a /lldb/tools
parent49d7eda9680b4bd3d22132dd47a63fdab058beb9 (diff)
downloadbcm5719-llvm-6a44ea8c0a1e090a7cd242e856d4a0c3893fba40.tar.gz
bcm5719-llvm-6a44ea8c0a1e090a7cd242e856d4a0c3893fba40.zip
Fix remote-linux regression due to stringRef changes
This is to fix a regression in remote-linux lldb-server connections. We were wrongly passing a copy of uri and expecting a stringRef back. llvm-svn: 287542
Diffstat (limited to 'lldb/tools')
-rw-r--r--lldb/tools/lldb-server/Acceptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/lldb-server/Acceptor.cpp b/lldb/tools/lldb-server/Acceptor.cpp
index 3e596194380..00a0bda175f 100644
--- a/lldb/tools/lldb-server/Acceptor.cpp
+++ b/lldb/tools/lldb-server/Acceptor.cpp
@@ -90,7 +90,7 @@ std::unique_ptr<Acceptor> Acceptor::Create(StringRef name,
int port;
StringRef scheme, host, path;
// Try to match socket name as URL - e.g., tcp://localhost:5555
- if (UriParser::Parse(name.str(), scheme, host, port, path)) {
+ if (UriParser::Parse(name, scheme, host, port, path)) {
if (!FindProtocolByScheme(scheme.str().c_str(), socket_protocol))
error.SetErrorStringWithFormat("Unknown protocol scheme \"%s\"",
scheme.str().c_str());
OpenPOWER on IntegriCloud