Add -disassemble support for -show-inst and -show-encode capability llvm-mc. Also...
authorRichard Barton <richard.barton@arm.com>
Mon, 16 Apr 2012 11:32:10 +0000 (11:32 +0000)
committerRichard Barton <richard.barton@arm.com>
Mon, 16 Apr 2012 11:32:10 +0000 (11:32 +0000)
commitd0c478d95f440b4db76279fe47d6cf734a28fa9a
tree576fb2a0a160f27b42950b8074dea0f829799e9c
parent4d2e9d9a1c213db144785f386ce661914d17afb6
Add -disassemble support for -show-inst and -show-encode capability llvm-mc. Also refactor so all MC paraphernalia are created once for all uses as much as possible.

The test change is to account for the fact that the default disassembler behaviour has changed with regards to specifying the assembly syntax to use.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154809 91177308-0d34-0410-b5e6-96231b3b80d8
test/MC/Disassembler/X86/intel-syntax.txt
tools/llvm-mc/Disassembler.cpp
tools/llvm-mc/Disassembler.h
tools/llvm-mc/llvm-mc.cpp