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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222395 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gold/gold-plugin.cpp

index 9905d489b55c780b7124ca1b5e97743a119f8da4..cfda6d2d4649eba100a516bea742bd0ae2e94c88 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;