[ELF] REGION_ALIAS: support quoted names

This commit is contained in:
Fangrui Song
2024-07-27 16:29:43 -07:00
parent c89566f317
commit 74ef53a01a
2 changed files with 2 additions and 2 deletions

View File

@@ -549,7 +549,7 @@ void ScriptParser::readRegionAlias() {
expect("(");
StringRef alias = readName();
expect(",");
StringRef name = next();
StringRef name = readName();
expect(")");
if (script->memoryRegions.count(alias))