llvm-project/lldb/source/Plugins/Disassembler/llvm
Greg Clayton ba812f4284 <rdar://problem/11330621>
Fixed the DisassemblerLLVMC disassembler to parse more efficiently instead of parsing opcodes over and over. The InstructionLLVMC class now only reads the opcode in the InstructionLLVMC::Decode function. This can be done very efficiently for ARM and architectures that have fixed opcode sizes. For x64 it still calls the disassembler to get the byte size.

Moved the lldb_private::Instruction::Dump(...) function up into the lldb_private::Instruction class and it now uses the function that gets the mnemonic, operandes and comments so that all disassembly is using the same code.

Added StreamString::FillLastLineToColumn() to allow filling a line up to a column with a character (which is used by the lldb_private::Instruction::Dump(...) function).

Modified the Opcode::GetData() fucntion to "do the right thing" for thumb instructions.

llvm-svn: 156532
2012-05-10 02:52:23 +00:00
..
DisassemblerLLVM.cpp <rdar://problem/11330621> 2012-05-10 02:52:23 +00:00
DisassemblerLLVM.h <rdar://problem/11330621> 2012-05-10 02:52:23 +00:00
DisassemblerLLVMC.cpp <rdar://problem/11330621> 2012-05-10 02:52:23 +00:00
DisassemblerLLVMC.h <rdar://problem/11330621> 2012-05-10 02:52:23 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00