Add support in the bitcode reader to read the attribute groups.
[oota-llvm.git] / lib / Bitcode / Reader / BitcodeReader.h
index 3347418de8eaf96f38872516ef6e40b5b0535aa8..8d36e670757415511d92386c60d4ff99eefc2bf8 100644 (file)
@@ -148,6 +148,9 @@ class BitcodeReader : public GVMaterializer {
   /// are off by one.
   std::vector<AttributeSet> MAttributes;
 
+  /// \brief The set of attribute groups.
+  std::vector<AttributeSet> MAttributeGroups;
+
   /// FunctionBBs - While parsing a function body, this is a list of the basic
   /// blocks for the function.
   std::vector<BasicBlock*> FunctionBBs;
@@ -320,6 +323,7 @@ private:
 
   bool ParseModule(bool Resume);
   bool ParseAttributeBlock();
+  bool ParseAttributeGroupBlock();
   bool ParseTypeTable();
   bool ParseTypeTableBody();