diff options
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
| -rw-r--r-- | lld/ELF/LinkerScript.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index e93f138324f..ee437912a80 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -2037,8 +2037,8 @@ std::vector<SymbolVersion> ScriptParser::readVersionExtern() { return Ret; } -uint64_t ScriptParser::readMemoryAssignment( - StringRef S1, StringRef S2, StringRef S3) { +uint64_t ScriptParser::readMemoryAssignment(StringRef S1, StringRef S2, + StringRef S3) { if (!(consume(S1) || consume(S2) || consume(S3))) { setError("expected one of: " + S1 + ", " + S2 + ", or " + S3); return 0; @@ -2048,7 +2048,7 @@ uint64_t ScriptParser::readMemoryAssignment( // TODO: Fully support constant expressions. uint64_t Val; if (!readInteger(next(), Val)) - setError("nonconstant expression for "+ S1); + setError("nonconstant expression for " + S1); return Val; } |

