summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-01-07 02:28:42 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-01-07 02:28:42 +0000
commit8e129852fb27505fcc606601b256d1eb39676437 (patch)
tree34893e431a1c8af67172f411cceb97071511e40d /include
parent307f17b9383dff92540e7fb8da28d36f966c2834 (diff)
downloadllvm-8e129852fb27505fcc606601b256d1eb39676437.tar.gz
llvm-8e129852fb27505fcc606601b256d1eb39676437.tar.bz2
llvm-8e129852fb27505fcc606601b256d1eb39676437.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCStreamer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h
index e26b4116bb..5579186ec9 100644
--- a/include/llvm/MC/MCStreamer.h
+++ b/include/llvm/MC/MCStreamer.h
@@ -92,6 +92,8 @@ public:
virtual void switchVendor(StringRef Vendor) = 0;
virtual void emitAttribute(unsigned Attribute, unsigned Value) = 0;
virtual void emitTextAttribute(unsigned Attribute, StringRef String) = 0;
+ virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
+ StringRef StringValue = "") = 0;
virtual void emitFPU(unsigned FPU) = 0;
virtual void emitArch(unsigned Arch) = 0;
virtual void finishAttributeSection() = 0;