Add support for annotated disassembly output for X86 and arm.
authorKevin Enderby <enderby@apple.com>
Mon, 22 Oct 2012 22:31:46 +0000 (22:31 +0000)
committerKevin Enderby <enderby@apple.com>
Mon, 22 Oct 2012 22:31:46 +0000 (22:31 +0000)
commit62183c4e18a964c2715cedb3f6fdc6bb3c4776bd
tree7900e3224a33ea5cc7fd9ea9e656b91d761afee4
parent929fccd4761b3de9d6c651cc85799d4bbfd165b0
Add support for annotated disassembly output for X86 and arm.

Per the October 12, 2012 Proposal for annotated disassembly output sent out by
Jim Grosbach this set of changes implements this for X86 and arm.  The llvm-mc
tool now has a -mdis option to produced the marked up disassembly and a couple
of small example test cases have been added.

rdar://11764962

llvm-svn: 166445
llvm/include/llvm-c/Disassembler.h
llvm/include/llvm/MC/MCInstPrinter.h
llvm/lib/MC/MCDisassembler/Disassembler.cpp
llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
llvm/test/MC/Disassembler/ARM/marked-up-thumb.txt [new file with mode: 0644]
llvm/test/MC/Disassembler/X86/marked-up.txt [new file with mode: 0644]
llvm/tools/llvm-mc/llvm-mc.cpp
llvm/tools/lto/lto.exports