Archive members cannot be larger than 4GB. Return a uint32_t.
[oota-llvm.git] / include / llvm / Object / Archive.h
index 198491c3769d9db443ff891d582409eae62a28bc..05595572dde1c235ca8d8e0f679d1d579800d607 100644 (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 {