aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKarl Schimpf <kschimpf@google.com>2013-06-07 13:10:56 -0700
committerKarl Schimpf <kschimpf@google.com>2013-06-07 13:10:56 -0700
commitb47210ff3386b2763757ea73ec739bb918b8c29e (patch)
tree54757ed1d947e94f4950ba92e56a454eef9a0c4d /tools
parent098dc634a5e6458a319617ec1737868cbf0f3d01 (diff)
Fix Mispelled local variable in llc.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3479 R=dschuff@chromium.org Review URL: https://codereview.chromium.org/16440008
Diffstat (limited to 'tools')
-rw-r--r--tools/llc/llc.cpp2
-rw-r--r--tools/pnacl-llc/pnacl-llc.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 592c5fbc16..6d3d40cda2 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -388,7 +388,7 @@ static int compileModule(char **argv, LLVMContext &Context) {
NaClBitcodeStreamer, Context, &StrError));
break;
default:
- StrErr = "Don't understand specified bitcode format";
+ StrError = "Don't understand specified bitcode format";
break;
}
if (!StrError.empty()) {
diff --git a/tools/pnacl-llc/pnacl-llc.cpp b/tools/pnacl-llc/pnacl-llc.cpp
index 5f2a5ce0b8..89218d81f9 100644
--- a/tools/pnacl-llc/pnacl-llc.cpp
+++ b/tools/pnacl-llc/pnacl-llc.cpp
@@ -322,7 +322,7 @@ static int compileModule(char **argv, LLVMContext &Context) {
NaClBitcodeStreamer, Context, &StrError));
break;
default:
- StrErr = "Don't understand specified bitcode format";
+ StrError = "Don't understand specified bitcode format";
break;
}
if (!StrError.empty()) {