diff options
author | Fangrui Song <i@maskray.me> | 2024-07-27 16:29:43 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-07-27 16:29:43 -0700 |
commit | 74ef53a01a49e3818ac872e1cb7669c8017f0eb0 (patch) | |
tree | f4c966cc2ae68af15d1e19a1c5ecb0c0ed6ad8d5 /lld/ELF/ScriptParser.cpp | |
parent | c89566f317d6db9e798f9d74c309921e47205901 (diff) | |
download | llvm-74ef53a01a49e3818ac872e1cb7669c8017f0eb0.zip llvm-74ef53a01a49e3818ac872e1cb7669c8017f0eb0.tar.gz llvm-74ef53a01a49e3818ac872e1cb7669c8017f0eb0.tar.bz2 |
[ELF] REGION_ALIAS: support quoted names
Diffstat (limited to 'lld/ELF/ScriptParser.cpp')
-rw-r--r-- | lld/ELF/ScriptParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/ScriptParser.cpp b/lld/ELF/ScriptParser.cpp index 7b01493..b97efc4 100644 --- a/lld/ELF/ScriptParser.cpp +++ b/lld/ELF/ScriptParser.cpp @@ -549,7 +549,7 @@ void ScriptParser::readRegionAlias() { expect("("); StringRef alias = readName(); expect(","); - StringRef name = next(); + StringRef name = readName(); expect(")"); if (script->memoryRegions.count(alias)) |