gold-plugin: Fix typo in error message
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 19 Nov 2014 22:39:21 +0000 (22:39 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 19 Nov 2014 22:39:21 +0000 (22:39 +0000)
Spotted while reading code.

llvm-svn: 222395

llvm/tools/gold/gold-plugin.cpp

index 9905d48..cfda6d2 100644 (file)
@@ -723,7 +723,7 @@ static void codegen(Module &M) {
     std::error_code EC =
         sys::fs::createTemporaryFile("lto-llvm", "o", FD, Filename);
     if (EC)
-      message(LDPL_FATAL, "Could not create temorary file: %s",
+      message(LDPL_FATAL, "Could not create temporary file: %s",
               EC.message().c_str());
   } else {
     Filename = options::obj_path;