mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 17:01:00 +08:00
Simplify script lexer.
Differential Revision: https://reviews.llvm.org/D41577 llvm-svn: 321453
This commit is contained in:
@@ -707,8 +707,6 @@ OutputSection *ScriptParser::readOutputSectionDescription(StringRef OutSec) {
|
||||
|
||||
if (consume(">"))
|
||||
Cmd->MemoryRegionName = next();
|
||||
else if (peek().startswith(">"))
|
||||
Cmd->MemoryRegionName = next().drop_front();
|
||||
|
||||
Cmd->Phdrs = readOutputSectionPhdrs();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user