diff options
Diffstat (limited to 'lib/Object')
-rw-r--r-- | lib/Object/Archive.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Object/Archive.cpp b/lib/Object/Archive.cpp index 27676cf..1b6386f 100644 --- a/lib/Object/Archive.cpp +++ b/lib/Object/Archive.cpp @@ -294,7 +294,6 @@ Archive::symbol_iterator Archive::end_symbols() const { uint32_t symbol_count = 0; if (kind() == K_GNU) { symbol_count = *reinterpret_cast<const support::ubig32_t*>(buf); - buf += sizeof(uint32_t) + (symbol_count * (sizeof(uint32_t))); } else if (kind() == K_BSD) { llvm_unreachable("BSD archive format is not supported"); } else { |