[PATCH] D79103: Fix ELF/linkerscript/input-archive.s w/ @ in path

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 09:02:48 PDT 2020


thopre updated this revision to Diff 261248.
thopre added a comment.

Fix quoting in ELF/linkerscript/thunk-gen-mips.s


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79103/new/

https://reviews.llvm.org/D79103

Files:
  lld/test/ELF/linkerscript/input-archive.s
  lld/test/ELF/linkerscript/thunk-gen-mips.s


Index: lld/test/ELF/linkerscript/thunk-gen-mips.s
===================================================================
--- lld/test/ELF/linkerscript/thunk-gen-mips.s
+++ lld/test/ELF/linkerscript/thunk-gen-mips.s
@@ -7,9 +7,9 @@
 # RUN:		echo "SECTIONS { \
 # RUN:		.text : { \
 # RUN:			*(.nomatch) \
-# RUN:			%t(.text) \
+# RUN:			\"%t\"(.text) \
 # RUN:			. = . + 0x100000 ; \
-# RUN:			%t1(.text) \
+# RUN:			\"%t1\"(.text) \
 # RUN:		} \
 # RUN:	}" > %t.script
 # RUN: ld.lld -o %t.exe --script %t.script %t %t1
Index: lld/test/ELF/linkerscript/input-archive.s
===================================================================
--- lld/test/ELF/linkerscript/input-archive.s
+++ lld/test/ELF/linkerscript/input-archive.s
@@ -11,7 +11,7 @@
 ## *.a:b.o matches /path/to/input-archive.s.tmp.a:b.o
 ## *b.o matches /path/to/input-archive.s.tmp.a:b.o
 # RUN: echo 'SECTIONS { \
-# RUN:   .foo : { %t.a:a.o(.data) } \
+# RUN:   .foo : { "%t.a:a.o"(.data) } \
 # RUN:   .bar : { *.a:b.o(.data) } \
 # RUN:   .qux : { *b.o(.data1) } \
 # RUN:   }' > %t.script


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79103.261248.patch
Type: text/x-patch
Size: 1057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200430/372ceaff/attachment.bin>


More information about the llvm-commits mailing list