llvm-6502/tools/llvm-objdump
Rafael Espindola 6a222ec893 Pass an ArrayRef to MCDisassembler::getInstruction.
With this patch MCDisassembler::getInstruction takes an ArrayRef<uint8_t>
instead of a MemoryObject.

Even on X86 there is a maximum size an instruction can have. Given
that, it seems way simpler and more efficient to just pass an ArrayRef
to the disassembler instead of a MemoryObject and have it do a virtual
call every time it wants some extra bytes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221751 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-12 02:04:27 +00:00
..
CMakeLists.txt Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00
COFFDump.cpp Rename data -> Data 2014-10-02 22:13:44 +00:00
ELFDump.cpp [Object] Split the ELF interface into 3 parts. 2013-08-08 22:27:13 +00:00
llvm-objdump.cpp Pass an ArrayRef to MCDisassembler::getInstruction. 2014-11-12 02:04:27 +00:00
llvm-objdump.h Flush out enough of llvm-objdump’s SymbolizerSymbolLookUp() for Mach-O files to 2014-09-24 23:08:22 +00:00
LLVMBuild.txt Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00
MachODump.cpp Pass an ArrayRef to MCDisassembler::getInstruction. 2014-11-12 02:04:27 +00:00
Makefile Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00