summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/Archive.cpp
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2015-01-16 00:27:31 +0000
committerKevin Enderby <enderby@apple.com>2015-01-16 00:27:31 +0000
commita975d4df1d656a47580594efbbbcfabff04fa2e2 (patch)
tree6d37f2863e208604c013a228658f05cb95c42dee /llvm/lib/Object/Archive.cpp
parent3f194f7997b2814d8e09e547237824d65e0bce60 (diff)
downloadbcm5719-llvm-a975d4df1d656a47580594efbbbcfabff04fa2e2.tar.gz
bcm5719-llvm-a975d4df1d656a47580594efbbbcfabff04fa2e2.zip
This should fix the build bot clang-cmake-armv7-a15-full failing on
the macho-archive-headers.test added with r226228. llvm-svn: 226232
Diffstat (limited to 'llvm/lib/Object/Archive.cpp')
-rw-r--r--llvm/lib/Object/Archive.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Object/Archive.cpp b/llvm/lib/Object/Archive.cpp
index ba35e49faa6..f14b29e1622 100644
--- a/llvm/lib/Object/Archive.cpp
+++ b/llvm/lib/Object/Archive.cpp
@@ -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();
}
OpenPOWER on IntegriCloud