From 8e129852fb27505fcc606601b256d1eb39676437 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 7 Jan 2014 02:28:42 +0000 Subject: 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 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; -- cgit v1.2.3