ARM IAS: improve .eabi_attribute handling
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 7 Jan 2014 02:28:42 +0000 (02:28 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 7 Jan 2014 02:28:42 +0000 (02:28 +0000)
commit8e129852fb27505fcc606601b256d1eb39676437
tree34893e431a1c8af67172f411cceb97071511e40d
parent307f17b9383dff92540e7fb8da28d36f966c2834
ARM IAS: improve .eabi_attribute handling

Parse tag names as well as expressions.  The former is part of the
specification, the latter is for improved compatibility with the GNU assembler.
Fix attribute value handling to be comformant to the specification.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198662 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCStreamer.h
lib/Target/ARM/ARMAsmPrinter.cpp
lib/Target/ARM/ARMBuildAttrs.h [deleted file]
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/MCTargetDesc/ARMBuildAttrs.cpp [new file with mode: 0644]
lib/Target/ARM/MCTargetDesc/ARMBuildAttrs.h [new file with mode: 0644]
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
lib/Target/ARM/MCTargetDesc/CMakeLists.txt
test/CodeGen/ARM/build-attributes-encoding.s
test/MC/ARM/directive-eabi_attribute-2.s [new file with mode: 0644]
test/MC/ARM/directive-eabi_attribute-diagnostics.s [new file with mode: 0644]