llvm-6502/include/llvm
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
..
ADT Add MapVector::rbegin(), MapVector::rend() to completment MapVector::begin(), MapVector::end(). 2014-10-27 17:20:53 +00:00
Analysis Add Forward Control-Flow Integrity. 2014-11-11 21:08:02 +00:00
AsmParser Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00
Bitcode Don't repeat names in comments. NFC. 2014-11-06 22:57:10 +00:00
CodeGen Totally forget deallocated SDNodes in SDDbgInfo. 2014-11-11 21:21:08 +00:00
Config Re-land r219354: Use llvm-symbolizer to symbolize LLVM/Clang crash dumps. 2014-10-10 22:06:59 +00:00
DebugInfo Constify input argument of RelocVisitor and DWARFContext constructors. NFC. 2014-10-20 20:28:51 +00:00
ExecutionEngine [MCJIT] Turn the getSymbolAddress free function created in r218626 into a static 2014-10-01 04:11:13 +00:00
IR Revert "IR: MDNode => Value" 2014-11-11 21:30:22 +00:00
IRReader Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00
LineEditor
Linker Remove the PreserveSource linker mode. 2014-10-28 00:24:16 +00:00
LTO libLTO: Allow LTOModule to own a context 2014-11-11 23:08:05 +00:00
MC Pass an ArrayRef to MCDisassembler::getInstruction. 2014-11-12 02:04:27 +00:00
Object MC, COFF: Use relocations for function references inside the section 2014-11-11 08:43:57 +00:00
Option Add an overload of getLastArgNoClaim taking two OptSpecifiers. 2014-09-12 19:42:53 +00:00
ProfileData Use ErrorOr for the ::create factory on instrumented and sample profilers. 2014-11-03 00:51:45 +00:00
Support Don't redeclare a pure virtual method. 2014-11-07 18:07:04 +00:00
TableGen [TableGen] Fully resolve class-instance values before defs in multiclasses 2014-09-16 17:14:13 +00:00
Target Remove a bit of dead code. 2014-11-12 01:27:22 +00:00
Transforms Move asan-coverage into a separate phase. 2014-11-11 22:14:37 +00:00
CMakeLists.txt
InitializePasses.h Move asan-coverage into a separate phase. 2014-11-11 22:14:37 +00:00
LinkAllIR.h
LinkAllPasses.h Transform: add SymbolRewriter pass 2014-11-07 21:32:08 +00:00
module.modulemap [modules] Stop excluding Support/Debug.h from the Support module. This header 2014-10-13 00:41:03 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassManager.h
PassRegistry.h [PM] Remove an unused and rather expensive mapping from an analysis 2014-10-06 00:30:59 +00:00
PassSupport.h Defining a new API for debug options that doesn't rely on static global cl::opts. 2014-10-15 21:54:35 +00:00