Use a std::map so that we record the group ID.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174910 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2013-02-11 22:32:29 +00:00
parent e3db2048ea
commit 04ef4be048
2 changed files with 8 additions and 7 deletions

View File

@@ -149,7 +149,7 @@ class BitcodeReader : public GVMaterializer {
std::vector<AttributeSet> MAttributes;
/// \brief The set of attribute groups.
std::vector<AttributeSet> MAttributeGroups;
std::map<unsigned, AttributeSet> MAttributeGroups;
/// FunctionBBs - While parsing a function body, this is a list of the basic
/// blocks for the function.