Index: lldb/include/lldb/Utility/StructuredData.h =================================================================== --- lldb/include/lldb/Utility/StructuredData.h +++ lldb/include/lldb/Utility/StructuredData.h @@ -375,15 +375,15 @@ } } - ObjectSP GetKeys() const { - auto object_sp = std::make_shared(); + ArraySP GetKeys() const { + auto array_sp = std::make_shared(); collection::const_iterator iter; for (iter = m_dict.begin(); iter != m_dict.end(); ++iter) { auto key_object_sp = std::make_shared(); key_object_sp->SetValue(iter->first.AsCString()); - object_sp->Push(key_object_sp); + array_sp->Push(key_object_sp); } - return object_sp; + return array_sp; } ObjectSP GetValueForKey(llvm::StringRef key) const {