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)
commit3ed0316f756e2f1730f46654776fcf77f5ace7aa
treec7769b081a31d4e7194751368e2090ba967bfb2b
parent8ee16c7b661ce0b1c1d33db07b57ad2c88b5a8b2
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166445 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/Disassembler.h
include/llvm/MC/MCInstPrinter.h
lib/MC/MCDisassembler/Disassembler.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
test/MC/Disassembler/ARM/marked-up-thumb.txt [new file with mode: 0644]
test/MC/Disassembler/X86/marked-up.txt [new file with mode: 0644]
tools/llvm-mc/llvm-mc.cpp
tools/lto/lto.exports