Move IsArchive and IsBytecode here from gccld. Refactor into CheckMagic.
authorBrian Gaeke <gaeke@uiuc.edu>
Tue, 11 Nov 2003 21:53:50 +0000 (21:53 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Tue, 11 Nov 2003 21:53:50 +0000 (21:53 +0000)
commita2302ffe78b2afe334f3b41eaf8a745b5608fa23
tree300637494af59efe56f64996a9c6d334f3dfe18a
parentf33d00f0d8ffb41a57ce86672de5c3590903db01
Move IsArchive and IsBytecode here from gccld. Refactor into CheckMagic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9901 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/FileUtilities.cpp