[lld] r293750 - [ELF] - Revert r293749
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 01:12:29 PST 2017
Author: grimar
Date: Wed Feb 1 03:12:29 2017
New Revision: 293750
URL: http://llvm.org/viewvc/llvm-project?rev=293750&view=rev
Log:
[ELF] - Revert r293749
Accidentally lost the commit title and message,
will recommit.
Modified:
lld/trunk/ELF/LinkerScript.cpp
Modified: lld/trunk/ELF/LinkerScript.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.cpp?rev=293750&r1=293749&r2=293750&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.cpp (original)
+++ lld/trunk/ELF/LinkerScript.cpp Wed Feb 1 03:12:29 2017
@@ -1494,7 +1494,8 @@ ScriptParser::readOutputSectionDescripti
while (!Error && !consume("}")) {
StringRef Tok = next();
if (Tok == ";") {
- // Empty commands are allowed. Do nothing here.
+ // Commands may contain excessive additional semicolons around.
+ // We should be able to parse it.
} else if (SymbolAssignment *Assignment = readProvideOrAssignment(Tok)) {
Cmd->Commands.emplace_back(Assignment);
} else if (BytesDataCommand *Data = readBytesDataCommand(Tok)) {
More information about the llvm-commits
mailing list