aboutsummaryrefslogtreecommitdiffstats
path: root/include/lldb/Core/StructuredDataImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Core/StructuredDataImpl.h')
-rw-r--r--include/lldb/Core/StructuredDataImpl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lldb/Core/StructuredDataImpl.h b/include/lldb/Core/StructuredDataImpl.h
index 79a709af7ca3..c66e4736dc26 100644
--- a/include/lldb/Core/StructuredDataImpl.h
+++ b/include/lldb/Core/StructuredDataImpl.h
@@ -54,7 +54,8 @@ public:
return error;
}
- m_data_sp->Dump(stream);
+ llvm::json::OStream s(stream.AsRawOstream());
+ m_data_sp->Serialize(s);
return error;
}