Make LowerSubregs' debug output for EXTRACT_SUBREG consistent with
[oota-llvm.git] / tools / llvm-ar / llvm-ar.cpp
index b885a8a2e72bc9bc94f3891b96d46f4718e7f697..a6611a3e8091c75ef36c11cc3b92f5fe8bf5d466 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
@@ -717,6 +717,7 @@ int main(int argc, char **argv) {
       if (!Create)
         std::cerr << argv[0] << ": creating " << ArchivePath.toString() << "\n";
       TheArchive = Archive::CreateEmpty(ArchivePath);
+      TheArchive->writeToDisk();
     } else {
       std::string Error;
       TheArchive = Archive::OpenAndLoad(ArchivePath, &Error);