aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Object
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-09 12:45:11 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-09 12:45:11 +0000
commit2012593f180d29081e6c609f667e1f63b729209a (patch)
tree2d5df59a387c7f02fced071d02beb29f257cf23a /include/llvm/Object
parent92f7386cae3fe3cabe7300171a5dc9b4bf8b352d (diff)
downloadexternal_llvm-2012593f180d29081e6c609f667e1f63b729209a.zip
external_llvm-2012593f180d29081e6c609f667e1f63b729209a.tar.gz
external_llvm-2012593f180d29081e6c609f667e1f63b729209a.tar.bz2
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
Diffstat (limited to 'include/llvm/Object')
-rw-r--r--include/llvm/Object/Archive.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Object/Archive.h b/include/llvm/Object/Archive.h
index 198491c..0559557 100644
--- a/include/llvm/Object/Archive.h
+++ b/include/llvm/Object/Archive.h
@@ -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 {