aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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()) {