diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-03-11 16:40:55 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-03-11 16:40:55 +0000 |
commit | 96bcdae1a5c082808cb8b816aeb55f193c26782c (patch) | |
tree | df3e8622edda8db908596344dc026d5ce6c58bf7 /lld/ELF/LinkerScript.cpp | |
parent | 36a73d2debbfc4747ab6dc4611c860380eaf20d0 (diff) | |
download | bcm5719-llvm-96bcdae1a5c082808cb8b816aeb55f193c26782c.tar.gz bcm5719-llvm-96bcdae1a5c082808cb8b816aeb55f193c26782c.zip |
[ELF] - Change all messages to lowercase to be consistent.
That is directly opposite to http://reviews.llvm.org/D18045,
which was reverted.
This patch changes all messages to start from lowercase letter if
they were not before.
That is done to be consistent with clang.
Differential revision: http://reviews.llvm.org/D18085
llvm-svn: 263252
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
-rw-r--r-- | lld/ELF/LinkerScript.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index b4580b5fe7c..677abb116b5 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -296,7 +296,7 @@ void ScriptParser::addFile(StringRef S) { } else { std::string Path = findFromSearchPaths(S); if (Path.empty()) - setError("Unable to find " + S); + setError("unable to find " + S); else Driver->addFile(Saver.save(Path)); } @@ -419,7 +419,7 @@ std::vector<uint8_t> ScriptParser::parseHex(StringRef S) { S = S.substr(2); uint8_t H; if (B.getAsInteger(16, H)) { - setError("Not a HEX value: " + B); + setError("not a HEX value: " + B); return {}; } Hex.push_back(H); @@ -442,13 +442,13 @@ void ScriptParser::readOutputSectionDescription() { readSectionPatterns(OutSec, true); expect(")"); } else { - setError("Unknown command " + Tok); + setError("unknown command " + Tok); } } StringRef Tok = peek(); if (Tok.startswith("=")) { if (!Tok.startswith("=0x")) { - setError("Filler should be a HEX value"); + setError("filler should be a HEX value"); return; } Tok = Tok.substr(3); |