aboutsummaryrefslogtreecommitdiffstats
path: root/lib/IR/AttributeImpl.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-11 08:43:33 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-11 08:43:33 +0000
commitb29ce26ea60f7516c853318ffbfc107fde9ad897 (patch)
tree24b16ea7c960b04ed253ecf581394c321fb135bb /lib/IR/AttributeImpl.h
parent595ef3e314e4c40b1f8b6b4f90b418a30a637242 (diff)
downloadexternal_llvm-b29ce26ea60f7516c853318ffbfc107fde9ad897.zip
external_llvm-b29ce26ea60f7516c853318ffbfc107fde9ad897.tar.gz
external_llvm-b29ce26ea60f7516c853318ffbfc107fde9ad897.tar.bz2
Add support for printing out the attribute groups.
This emits the attribute groups that are used by the functions. (It currently doesn't print out return type or parameter attributes within attribute groups.) Note: The functions still retrieve their attributes from the "old" bitcode format (using the deprecated 'Raw()' method). This means that string attributes within an attribute group will not show up during a disassembly. This will be addressed in a future commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174867 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/AttributeImpl.h')
-rw-r--r--lib/IR/AttributeImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/AttributeImpl.h b/lib/IR/AttributeImpl.h
index 84f472d..7bb1fcc 100644
--- a/lib/IR/AttributeImpl.h
+++ b/lib/IR/AttributeImpl.h
@@ -174,7 +174,7 @@ public:
unsigned getAlignment() const;
unsigned getStackAlignment() const;
- std::string getAsString() const;
+ std::string getAsString(bool InAttrGrp) const;
typedef SmallVectorImpl<Attribute>::iterator iterator;
typedef SmallVectorImpl<Attribute>::const_iterator const_iterator;