[PATCH] ARM IAS: support .object_arch

Saleem Abdulrasool compnerd at compnerd.org
Sun Jan 19 22:42:17 PST 2014


Hi rengolin,

The .object_arch directive indicates an alternative architecture to be specified
in the object file.  The directive does *not* effect the enabled feature bits
for the object file generation.  This is particularly useful when the code
performs runtime detection and would like to indicate a lower architecture as
the requirements than the actual instructions used.

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

Files:
  include/llvm/MC/MCStreamer.h
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  test/MC/ARM/directive-object_arch-2.s
  test/MC/ARM/directive-object_arch-3.s
  test/MC/ARM/directive-object_arch-diagnostics.s
  test/MC/ARM/directive-object_arch.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2578.1.patch
Type: text/x-patch
Size: 7110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140119/252b2d22/attachment.bin>


More information about the llvm-commits mailing list