diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Support/FileUtilities.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp index 3f2f97b22e8..51f49772b1c 100644 --- a/llvm/lib/Support/FileUtilities.cpp +++ b/llvm/lib/Support/FileUtilities.cpp @@ -52,7 +52,7 @@ bool llvm::IsArchive(const std::string &FN) {  bool llvm::IsBytecode(const std::string &FN) {    // Inspect the beginning of the file to see if it contains the LLVM    // bytecode format magic string. -  return CheckMagic (FN, "llvm"); +  return CheckMagic(FN, "llvm") || CheckMagic(FN, "llvc");  }  /// IsSharedObject - Returns trus IFF the file named FN appears to be a shared  | 

