mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 17:45:07 +08:00
[ELF] - Revert r293749
Accidentally lost the commit title and message, will recommit. llvm-svn: 293750
This commit is contained in:
@@ -1494,7 +1494,8 @@ ScriptParser::readOutputSectionDescription(StringRef OutSec) {
|
||||
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)) {
|
||||
|
||||
Reference in New Issue
Block a user