[lld] r293749 -

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


Author: grimar
Date: Wed Feb  1 03:05:45 2017
New Revision: 293749

URL: http://llvm.org/viewvc/llvm-project?rev=293749&view=rev
Log: (empty)

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=293749&r1=293748&r2=293749&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.cpp (original)
+++ lld/trunk/ELF/LinkerScript.cpp Wed Feb  1 03:05:45 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