diff options
Diffstat (limited to 'lldb/source/Interpreter/OptionGroupPlatform.cpp')
| -rw-r--r-- | lldb/source/Interpreter/OptionGroupPlatform.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/OptionGroupPlatform.cpp b/lldb/source/Interpreter/OptionGroupPlatform.cpp index 8dc64fb54c3..a54edafd019 100644 --- a/lldb/source/Interpreter/OptionGroupPlatform.cpp +++ b/lldb/source/Interpreter/OptionGroupPlatform.cpp @@ -38,7 +38,9 @@ OptionGroupPlatform::CreatePlatformWithOptions (CommandInterpreter &interpreter, { if (platform_arch.IsValid() && !platform_sp->IsCompatibleArchitecture(arch, false, &platform_arch)) { - error.SetErrorStringWithFormat("platform '%s' doesn't support '%s'", platform_sp->GetName(), arch.GetTriple().getTriple().c_str()); + error.SetErrorStringWithFormat ("platform '%s' doesn't support '%s'", + platform_sp->GetName().GetCString(), + arch.GetTriple().getTriple().c_str()); platform_sp.reset(); return platform_sp; } |

