OSDN Git Service

ARM IAS: support .inst directive
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 19 Dec 2013 05:17:58 +0000 (05:17 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 19 Dec 2013 05:17:58 +0000 (05:17 +0000)
commit304512cf4042163cad99c895d11e5132546d02ea
tree0894cb273368feb77917d48a83a429f98af0de6a
parent2ad4cf54ee097fe6bfdb2e6593bf3db1895951cd
ARM IAS: support .inst directive

This adds support for the .inst directive.  This is an ARM specific directive to
indicate an instruction encoded as a constant expression.  The major difference
between .word, .short, or .byte and .inst is that the latter will be
disassembled as an instruction since it does not get flagged as data.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197657 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCStreamer.h
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
test/MC/ARM/inst-arm-suffixes.s [new file with mode: 0644]
test/MC/ARM/inst-constant-required.s [new file with mode: 0644]
test/MC/ARM/inst-directive-emit.s [new file with mode: 0644]
test/MC/ARM/inst-directive.s [new file with mode: 0644]
test/MC/ARM/inst-overflow.s [new file with mode: 0644]
test/MC/ARM/inst-thumb-overflow-2.s [new file with mode: 0644]
test/MC/ARM/inst-thumb-overflow.s [new file with mode: 0644]
test/MC/ARM/inst-thumb-suffixes.s [new file with mode: 0644]