From b1ac6e617291e2a628bc460933bde97c73466cb0 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 17 Apr 2013 23:35:59 +0000 Subject: Add an option `-enable-old-style-attr-syntax' to print out function attributes in the "old" style. It's sometimes beneficial to emit a testcase with the old style attribute syntax. Allow someone to do this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179735 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/Attributes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/llvm/IR') diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index 074b38779a..6c014ea104 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -306,7 +306,8 @@ public: unsigned getStackAlignment(unsigned Index) const; /// \brief Return the attributes at the index as a string. - std::string getAsString(unsigned Index, bool InAttrGrp = false) const; + std::string getAsString(unsigned Index, bool TargetIndependent = false, + bool InAttrGrp = false) const; typedef ArrayRef::iterator iterator; -- cgit v1.2.3