summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Object')
-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