Handle headers for compressed bytecode files


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17634 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Support/FileUtilities.cpp b/lib/Support/FileUtilities.cpp
index 3f2f97b..51f4977 100644
--- a/lib/Support/FileUtilities.cpp
+++ b/lib/Support/FileUtilities.cpp
@@ -52,7 +52,7 @@
 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