This version of Linker.cpp works a lot better, but it's a little messy. Sorry.
authorBrian Gaeke <gaeke@uiuc.edu>
Tue, 11 Nov 2003 18:27:37 +0000 (18:27 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Tue, 11 Nov 2003 18:27:37 +0000 (18:27 +0000)
commitee8adb1955fde8d8e9f36b07b2d7f3f15314d051
tree0cfd075be14725034fc9edf8a8f9c4b073778b79
parent56be7ffe58b4e05c72b314841f0c168a7b307d84
This version of Linker.cpp works a lot better, but it's a little messy.  Sorry.

Use FileOpenable() instead of FileExists().
Create IsBytecode() predicate -- like IsArchive(), but for bytecode files.
Use IsBytecode() before trying to load any file as a bytecode file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9893 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Linker/LinkArchives.cpp
tools/gccld/Linker.cpp