This should fix the build bot clang-cmake-armv7-a15-full failing on
authorKevin Enderby <enderby@apple.com>
Fri, 16 Jan 2015 00:27:31 +0000 (00:27 +0000)
committerKevin Enderby <enderby@apple.com>
Fri, 16 Jan 2015 00:27:31 +0000 (00:27 +0000)
the macho-archive-headers.test added with r226228.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226232 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Object/Archive.cpp

index ba35e49faa67b26269d7de4c6742bdf6e13ca5e3..f14b29e1622d1b51a194ef9bd2a2ae1835075b89 100644 (file)
@@ -111,8 +111,6 @@ uint64_t Archive::Child::getSize() const {
 }
 
 uint64_t Archive::Child::getRawSize() const {
-  if (Parent->IsThin)
-    return getHeader()->getSize();
   return Data.size();
 }