Tweak to r250117 and change to use ErrorOr and drop isSizeValid for
authorKevin Enderby <enderby@apple.com>
Tue, 13 Oct 2015 20:48:04 +0000 (20:48 +0000)
committerKevin Enderby <enderby@apple.com>
Tue, 13 Oct 2015 20:48:04 +0000 (20:48 +0000)
commit1cd4c56bf6d6a4784d7606ea9b9ee005835dedd7
tree2523f31a2b936f85b460016c1a7467cfaaf78dbd
parent3d6511f5ef36418c2fb53a49d82f30828344eb47
Tweak to r250117 and change to use ErrorOr and drop isSizeValid for
ArchiveMemberHeader, suggestion by Rafael EspĂ­ndola.

Also The clang-x86-win2008-selfhost bot still does not like the
malformed-machos 00000031.a test, so removing it for now.  All
the other bots are fine with it however.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250222 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/Archive.h
lib/Object/Archive.cpp
test/tools/llvm-objdump/X86/malformed-machos.test