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/DynamicLoader/MacOSX-DYLD | |
| 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/DynamicLoader/MacOSX-DYLD')
| -rw-r--r-- | lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp index 8178b5b155d..4a8ad38d178 100644 --- a/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp +++ b/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp @@ -484,7 +484,7 @@ bool DynamicLoaderMacOS::GetSharedCacheInformation( std::string uuid_str = info_dict->GetValueForKey("shared_cache_uuid")->GetStringValue(); if (!uuid_str.empty()) - uuid.SetFromCString(uuid_str.c_str()); + uuid.SetFromStringRef(uuid_str); if (info_dict->GetValueForKey("no_shared_cache")->GetBooleanValue() == false) using_shared_cache = eLazyBoolYes; |

