[test] Fix the test from the previous commit when run on windows. NFC.

Apparently the escaped dollar sign didn't work the same way in "echo -e"
on windows buildbots.

llvm-svn: 366784
This commit is contained in:
Martin Storsjo 2019-07-23 07:28:23 +00:00
parent f1883637f2
commit b95fcf09c0
2 changed files with 11 additions and 2 deletions

View File

@ -0,0 +1,10 @@
.section .tls,"dw"
.byte 0xaa
.section .tls$ZZZ,"dw"
.byte 0xff
.globl _tls_index
.data
_tls_index:
.int 0

View File

@ -1,7 +1,6 @@
# REQUIRES: x86
# RUN: echo -e ".section .tls,\"dw\"\n .byte 0xaa\n .section .tls\$ZZZ,\"dw\"\n .byte 0xff\n .globl _tls_index\n .data\n _tls_index:\n .int 0" > %t.tlssup.s
# RUN: llvm-mc -triple=x86_64-windows-gnu %t.tlssup.s -filetype=obj -o %t.tlssup.o
# RUN: llvm-mc -triple=x86_64-windows-gnu %S/Inputs/tlssup.s -filetype=obj -o %t.tlssup.o
# RUN: llvm-mc -triple=x86_64-windows-gnu %s -filetype=obj -o %t.main.o
# RUN: lld-link -lldmingw -entry:main %t.main.o %t.tlssup.o -out:%t.exe