[PATCH] ARM IAS: support .inst directive

Saleem Abdulrasool compnerd at compnerd.org
Sat Dec 14 22:06:24 PST 2013


Hi t.p.northover,

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.

http://llvm-reviews.chandlerc.com/D2411

Files:
  include/llvm/MC/MCStreamer.h
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  test/MC/ARM/inst-arm-suffixes.s
  test/MC/ARM/inst-constant-required.s
  test/MC/ARM/inst-directive.s
  test/MC/ARM/inst-thumb-overflow.s
  test/MC/ARM/inst-thumb-suffixes.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2411.1.patch
Type: text/x-patch
Size: 11412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131214/e36939fb/attachment.bin>


More information about the llvm-commits mailing list