OSDN Git Service

Some of the instructions in the Mips instruction set are revision
authorJack Carter <jcarter@mips.com>
Tue, 28 Aug 2012 19:24:49 +0000 (19:24 +0000)
committerJack Carter <jcarter@mips.com>
Tue, 28 Aug 2012 19:24:49 +0000 (19:24 +0000)
commitfd6d1651551d5a08b3cf0fcafed5e91a40b8e317
tree22bf244695dfcc8a1d348e4298809e23ac8d8075
parent8e48e0b1201bc80af9b43b2742529d976dbfafb0
Some of the instructions in the Mips instruction set are revision
delimited. llvm-mc -disassemble access these through the -mattr
option.

llvm-objdump -disassemble had no such way to set the attribute so
some instructions were just not recognized for disassembly.

This patch accepts llvm-mc mechanism for specifying the attributes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162781 91177308-0d34-0410-b5e6-96231b3b80d8
test/Object/Mips/dext-test.elf-mips64r2 [new file with mode: 0644]
test/Object/Mips/feature.test [new file with mode: 0644]
tools/llvm-objdump/llvm-objdump.cpp