[llvm] r222395 - gold-plugin: Fix typo in error message

Duncan P. N. Exon Smith dexonsmith at apple.com
Wed Nov 19 14:39:21 PST 2014


Author: dexonsmith
Date: Wed Nov 19 16:39:21 2014
New Revision: 222395

URL: http://llvm.org/viewvc/llvm-project?rev=222395&view=rev
Log:
gold-plugin: Fix typo in error message

Spotted while reading code.

Modified:
    llvm/trunk/tools/gold/gold-plugin.cpp

Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=222395&r1=222394&r2=222395&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Wed Nov 19 16:39:21 2014
@@ -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;





More information about the llvm-commits mailing list