OSDN Git Service

Add some scaffolding for a new experimental asmprinter
authorChris Lattner <sabre@nondot.org>
Fri, 19 Jun 2009 00:47:33 +0000 (00:47 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 19 Jun 2009 00:47:33 +0000 (00:47 +0000)
commit475370b036a9e355b51c899465efc00532bb3c41
treebc3d878cc3e9f0b41b019fab9844a605de846a5b
parent4e0f25b603c96ce43474441e99252c5cd88c2e2e
Add some scaffolding for a new experimental asmprinter
implementation.  The idea is that we want asmprinting to
work by converting MachineInstrs into a new MCInst class,
then the per-instruction asmprinter works on MCInst.  MCInst
and the new asmprinters will not depend on most of the
llvm code generators.  This allows building diassemblers
that don't link in the whole llvm code generator.  This is
step #1 of many.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73743 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCInst.h [new file with mode: 0644]
lib/Target/X86/AsmPrinter/CMakeLists.txt
lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h