speed up Archive::isBytecodeArchive in the case when the archive doesn't have
authorChris Lattner <sabre@nondot.org>
Fri, 23 Sep 2005 06:22:58 +0000 (06:22 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 23 Sep 2005 06:22:58 +0000 (06:22 +0000)
commit7c439929bcdc7e64705da5cea8fa41c6ac7a07f7
tree1d368e363f6fe5fe1372865532b7d65835010c31
parent7b5634d2135ca0bfb02767d872573f90a7d73128
speed up Archive::isBytecodeArchive in the case when the archive doesn't have
an llvm-ranlib symtab.  This speeds up gccld -native on an almost empty .o file
from 1.63s to 0.18s.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23406 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Archive/ArchiveReader.cpp
lib/Bytecode/Archive/ArchiveReader.cpp