diff options
author | Pavel Labath <labath@google.com> | 2018-06-21 15:24:39 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-06-21 15:24:39 +0000 |
commit | a174bcbf033da7392b8c2c96c381d45f09a9810f (patch) | |
tree | 0c7f690c4a6d44253fb9974539046b57325415df /lldb/source/Plugins/Process/gdb-remote | |
parent | bb9dedfa8a5205d512e71ae462e77ba4e482e8d4 (diff) | |
download | bcm5719-llvm-a174bcbf033da7392b8c2c96c381d45f09a9810f.tar.gz bcm5719-llvm-a174bcbf033da7392b8c2c96c381d45f09a9810f.zip |
Remove UUID::SetFromCString
Replace uses with SetFromStringRef. NFC.
llvm-svn: 335246
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 319fa654323..c8b59d5d236 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp @@ -3541,7 +3541,7 @@ bool GDBRemoteCommunicationClient::GetModuleInfo( StringExtractor extractor(value); std::string uuid; extractor.GetHexByteString(uuid); - module_spec.GetUUID().SetFromCString(uuid.c_str(), uuid.size() / 2); + module_spec.GetUUID().SetFromStringRef(uuid, uuid.size() / 2); } else if (name == "triple") { StringExtractor extractor(value); std::string triple; |