[llvm] r226232 - This should fix the build bot clang-cmake-armv7-a15-full failing on

Kevin Enderby enderby at apple.com
Thu Jan 15 16:27:31 PST 2015


Author: enderby
Date: Thu Jan 15 18:27:31 2015
New Revision: 226232

URL: http://llvm.org/viewvc/llvm-project?rev=226232&view=rev
Log:
This should fix the build bot clang-cmake-armv7-a15-full failing on
the macho-archive-headers.test added with r226228.

Modified:
    llvm/trunk/lib/Object/Archive.cpp

Modified: llvm/trunk/lib/Object/Archive.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Object/Archive.cpp?rev=226232&r1=226231&r2=226232&view=diff
==============================================================================
--- llvm/trunk/lib/Object/Archive.cpp (original)
+++ llvm/trunk/lib/Object/Archive.cpp Thu Jan 15 18:27:31 2015
@@ -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();
 }
 





More information about the llvm-commits mailing list