diff --git a/lldb/source/Interpreter/OptionValue.cpp b/lldb/source/Interpreter/OptionValue.cpp --- a/lldb/source/Interpreter/OptionValue.cpp +++ b/lldb/source/Interpreter/OptionValue.cpp @@ -534,8 +534,8 @@ if (m_parent_sp->DumpQualifiedName(strm)) dumped_something = true; } - ConstString name(GetName()); - if (name) { + llvm::StringRef name(GetName()); + if (!name.empty()) { if (dumped_something) strm.PutChar('.'); else