Here is the bulk of the sanitizing.
[oota-llvm.git] / lib / Linker / LinkArchives.cpp
index 416b2857db72d2379a91cc0e3c433aa897d2e9af..381d0e7e5a069252b8a8812b9d5465055057d6d5 100644 (file)
@@ -117,7 +117,7 @@ Linker::LinkInArchive(const sys::Path &Filename, bool &is_native) {
   if (!arch)
     return error("Cannot read archive '" + Filename.toString() +
                  "': " + ErrMsg);
-  if (!arch->isBytecodeArchive()) {
+  if (!arch->isBitcodeArchive()) {
     is_native = true;
     return false;
   }