llvm-6502/tools/llvm-mc
Lang Hames 508bd63046 [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).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206241 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-15 04:40:56 +00:00
..
CMakeLists.txt [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
Disassembler.cpp [MC] Require an MCContext when constructing an MCDisassembler. 2014-04-15 04:40:56 +00:00
Disassembler.h Remove edis - the enhanced disassembler. Fixes PR14654. 2012-12-19 19:55:47 +00:00
llvm-mc.cpp Add missing include (for r205050) 2014-03-28 21:00:25 +00:00
LLVMBuild.txt
Makefile