diff options
Diffstat (limited to 'lldb/source/Core/Disassembler.cpp')
-rw-r--r-- | lldb/source/Core/Disassembler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Disassembler.cpp b/lldb/source/Core/Disassembler.cpp index 577f2f6d474..c55ad1c1755 100644 --- a/lldb/source/Core/Disassembler.cpp +++ b/lldb/source/Core/Disassembler.cpp @@ -735,7 +735,7 @@ void Instruction::Dump(lldb_private::Stream *s, uint32_t max_opcode_byte_size, ss.PutCString(" ; "); ss.PutCString(m_comment); } - s->Write(ss.GetData(), ss.GetSize()); + s->PutCString(ss.GetString()); } bool Instruction::DumpEmulation(const ArchSpec &arch) { |