[test] Fix ELF/linkerscript/input-archive.s w/ @ in path
authorThomas Preud'homme <thomasp@graphcore.ai>
Wed, 29 Apr 2020 16:27:17 +0000 (17:27 +0100)
committerThomas Preud'homme <thomasp@graphcore.ai>
Thu, 30 Apr 2020 19:14:22 +0000 (20:14 +0100)
commit9ecddde321c2231e4440396dfd9f1a4718d38ba8
tree59651c90f44a9133168d43aed7a2f4f22d2d38cf
parent7182d2da056fad639378aae58536a8235ffa87aa
[test] Fix ELF/linkerscript/input-archive.s w/ @ in path

Lld test ELF/linkerscript/input-archive.s fails when path contain a @
because is not accepted in unquoted token in linker scripts which leads
to the path being broken in 2 around the @. This commit quotes the path
used in the linker script created by this and similar testcases allowing
the test to pass even in the presence of an @ sign in the path.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D79103
lld/test/ELF/linkerscript/input-archive.s
lld/test/ELF/linkerscript/thunk-gen-mips.s