forked from OSchip/llvm-project
a1bc0f5662
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Disassembler.cpp | ||
Disassembler.h | ||
LLVMBuild.txt | ||
Makefile | ||
llvm-mc.cpp |