[lld] r293751 - [ELF] - Recommit r293749. Improve comment. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 01:14:22 PST 2017


Author: grimar
Date: Wed Feb  1 03:14:22 2017
New Revision: 293751

URL: http://llvm.org/viewvc/llvm-project?rev=293751&view=rev
Log:
[ELF] - Recommit r293749. Improve comment. NFC.

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=293751&r1=293750&r2=293751&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.cpp (original)
+++ lld/trunk/ELF/LinkerScript.cpp Wed Feb  1 03:14:22 2017
@@ -1494,8 +1494,7 @@ ScriptParser::readOutputSectionDescripti
   while (!Error && !consume("}")) {
     StringRef Tok = next();
     if (Tok == ";") {
-      // Commands may contain excessive additional semicolons around.
-      // We should be able to parse it.
+      // Empty commands are allowed. Do nothing here.
     } 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