Archive members cannot be larger than 4GB. Return a uint32_t.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2013-07-09 12:45:11 +00:00
parent 92f7386cae
commit 2012593f18
2 changed files with 7 additions and 6 deletions

View File

@@ -33,7 +33,8 @@ struct ArchiveMemberHeader {
/// Get the name without looking up long names.
llvm::StringRef getName() const;
uint64_t getSize() const;
/// Members are not larger than 4GB.
uint32_t getSize() const;
};
class Archive : public Binary {