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)
commitb05bec7ce821b1ae624da0a6cf01365cee3062b0
treec26e963d07e97d2cd6f41f6e4978cd92fd721728
parent68af21c9758a318ea54fa2ac9fea5b4643d91b70
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

llvm-svn: 198441
llvm/lib/MC/MCDisassembler/Disassembler.cpp
llvm/lib/MC/MCExternalSymbolizer.cpp