summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBTarget.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-06-21 15:24:39 +0000
committerPavel Labath <labath@google.com>2018-06-21 15:24:39 +0000
commita174bcbf033da7392b8c2c96c381d45f09a9810f (patch)
tree0c7f690c4a6d44253fb9974539046b57325415df /lldb/source/API/SBTarget.cpp
parentbb9dedfa8a5205d512e71ae462e77ba4e482e8d4 (diff)
downloadbcm5719-llvm-a174bcbf033da7392b8c2c96c381d45f09a9810f.tar.gz
bcm5719-llvm-a174bcbf033da7392b8c2c96c381d45f09a9810f.zip
Remove UUID::SetFromCString
Replace uses with SetFromStringRef. NFC. llvm-svn: 335246
Diffstat (limited to 'lldb/source/API/SBTarget.cpp')
-rw-r--r--lldb/source/API/SBTarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp
index 27880e8399b..7af3e55dce9 100644
--- a/lldb/source/API/SBTarget.cpp
+++ b/lldb/source/API/SBTarget.cpp
@@ -1472,7 +1472,7 @@ lldb::SBModule SBTarget::AddModule(const char *path, const char *triple,
module_spec.GetFileSpec().SetFile(path, false, FileSpec::Style::native);
if (uuid_cstr)
- module_spec.GetUUID().SetFromCString(uuid_cstr);
+ module_spec.GetUUID().SetFromStringRef(uuid_cstr);
if (triple)
module_spec.GetArchitecture() = Platform::GetAugmentedArchSpec(
OpenPOWER on IntegriCloud