mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user