summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gold/gold-plugin.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-11-19 22:39:21 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-11-19 22:39:21 +0000
commitf6ab47038cf8fea9611625ce97b267f7ce2957d6 (patch)
treeb0ef003a6d65cff755398ff77f05d7939dbefaf7 /llvm/tools/gold/gold-plugin.cpp
parentccb68b487e06c3744f8e4b25267d4a23ce90fd62 (diff)
downloadbcm5719-llvm-f6ab47038cf8fea9611625ce97b267f7ce2957d6.tar.gz
bcm5719-llvm-f6ab47038cf8fea9611625ce97b267f7ce2957d6.zip
gold-plugin: Fix typo in error message
Spotted while reading code. llvm-svn: 222395
Diffstat (limited to 'llvm/tools/gold/gold-plugin.cpp')
-rw-r--r--llvm/tools/gold/gold-plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
index 9905d489b55..cfda6d2d464 100644
--- a/llvm/tools/gold/gold-plugin.cpp
+++ b/llvm/tools/gold/gold-plugin.cpp
@@ -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;
OpenPOWER on IntegriCloud