[X86] Convert to MVT instead of calling EVT functions since we already know the type...
[oota-llvm.git] / include / llvm / Object / Archive.h
index d7f46551827ec6230b7cd169c4fb47bb39e109aa..32c72a0cc3d334fb11ec9e685afc27eaa6ad4368 100644 (file)
@@ -37,7 +37,7 @@ struct ArchiveMemberHeader {
   llvm::StringRef getName() const;
 
   /// Members are not larger than 4GB.
-  uint32_t getSize() const;
+  ErrorOr<uint32_t> getSize() const;
 
   sys::fs::perms getAccessMode() const;
   sys::TimeValue getLastModified() const;