summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp')
-rw-r--r--lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp b/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
index d25bb7bbf46..f16ebc463e1 100644
--- a/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
+++ b/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
@@ -265,7 +265,7 @@ Error PlatformWindows::ResolveExecutable(
error.SetErrorStringWithFormat(
"'%s' doesn't contain any '%s' platform architectures: %s",
resolved_module_spec.GetFileSpec().GetPath().c_str(),
- GetPluginName().GetCString(), arch_names.GetString().c_str());
+ GetPluginName().GetCString(), arch_names.GetData());
} else {
error.SetErrorStringWithFormat(
"'%s' is not readable",
@@ -603,5 +603,5 @@ ConstString PlatformWindows::GetFullNameForDylib(ConstString basename) {
StreamString stream;
stream.Printf("%s.dll", basename.GetCString());
- return ConstString(stream.GetData());
+ return ConstString(stream.GetString());
}
OpenPOWER on IntegriCloud