[LLD][ELF] - Handle quoted strings in the linker scripts correctly.
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 22 Apr 2019 07:57:07 +0000 (07:57 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 22 Apr 2019 07:57:07 +0000 (07:57 +0000)
commitf902250fc13bdcd2dbdb733304f1eed743613eb9
treebcad06c507c490a4391064d6af2c5191a4e2adda
parentee12a75e388a695ab0b4643a5fbad21ec537a65f
[LLD][ELF] - Handle quoted strings in the linker scripts correctly.

This is the https://bugs.llvm.org/show_bug.cgi?id=41356,

Seems it is kind of unusual case but it is possible to
have sections that require quotes for their namings.
Like "aaa bbb".

This patch adds support for those.

Differential revision: https://reviews.llvm.org/D60901

llvm-svn: 358874
lld/ELF/ScriptParser.cpp
lld/test/ELF/linkerscript/quoted-section-name.test [new file with mode: 0644]