1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/Target/X86/Disassembler
Lang Hames 91cdab6916 [MC] Require an MCContext when constructing an MCDisassembler.
This patch re-introduces the MCContext member that was removed from
MCDisassembler in r206063, and requires that an MCContext be passed in at
MCDisassembler construction time. (Previously the MCContext member had been
initialized in an ad-hoc fashion after construction). The MCCContext member
can be used by MCDisassembler sub-classes to construct constant or
target-specific MCExprs.

This patch updates disassemblers for in-tree targets, and provides the
MCRegisterInfo instance that some disassemblers were using through the
MCContext (previously those backends were constructing their own
MCRegisterInfo instances).

llvm-svn: 206241
2014-04-15 04:40:56 +00:00
..
CMakeLists.txt Cleaning up two more pre-Visual C++ 2012 build hacks. 2014-03-06 08:05:43 +00:00
LLVMBuild.txt Prune redundant dependencies in LLVMBuild.txt. 2013-12-11 00:30:57 +00:00
Makefile
X86Disassembler.cpp [MC] Require an MCContext when constructing an MCDisassembler. 2014-04-15 04:40:56 +00:00
X86Disassembler.h [MC] Require an MCContext when constructing an MCDisassembler. 2014-04-15 04:40:56 +00:00
X86DisassemblerDecoder.c [X86] Check return value of readSIB in disassembler so errors propagate. In particular this makes a too short instruction with a missing SIB byte fail. 2014-03-20 05:56:00 +00:00
X86DisassemblerDecoder.h Fix known typos 2014-01-24 17:20:08 +00:00
X86DisassemblerDecoderCommon.h Remove A6/A7 opcode maps. They can all be handled with a TB map, opcode of 0xa6/0xa7, and adding MRM_C0/MRM_E0 forms. Removes 376K from the disassembler tables. 2014-02-19 05:34:21 +00:00