For disassembly when adding a symbolic operand that is a C++
authorKevin Enderby <enderby@apple.com>
Fri, 3 Jan 2014 19:33:09 +0000 (19:33 +0000)
committerKevin Enderby <enderby@apple.com>
Fri, 3 Jan 2014 19:33:09 +0000 (19:33 +0000)
commit6cedb064926bf70195d9808ae0a821b8d5214929
treeb1063d39213487208795d49fb3341ea317aa19ae
parent8e0f67dcec577760e3bdc36f0377c6f43e1894d8
For disassembly when adding a symbolic operand that is a C++
symbol name, also put the human readable name in a comment.

Also fix a bug in LLVMDisasmInstruction() that was not flushing
the raw_svector_ostream for the disassembled instruction string
before copying it to the output buffer that was causing truncation
of the output.

rdar://10173828

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198441 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCDisassembler/Disassembler.cpp
lib/MC/MCExternalSymbolizer.cpp