Skip to content

Commit 73a961b

Browse files
committed
[LLDB] Port toolchain-msvc.test for Arm/AArch4 Windows
This patch updates toolchain-msvc.test to cater for Arm64 windows platform. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D117676
1 parent 2fe3151 commit 73a961b

File tree

1 file changed

+62
-62
lines changed

1 file changed

+62
-62
lines changed
Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
1-
REQUIRES: system-windows, msvc
2-
3-
RUN: %build -n --verbose --arch=32 --compiler=msvc --mode=compile-and-link -o %t/foo.exe foobar.c \
4-
RUN: | FileCheck --check-prefix=X86 %s
5-
6-
RUN: %build -n --verbose --arch=64 --compiler=msvc --mode=compile-and-link -o %t/foo.exe foobar.c \
7-
RUN: | FileCheck --check-prefix=X64 %s
8-
9-
X86: Script Arguments:
10-
X86: Arch: 32
11-
X86: Compiler: msvc
12-
X86: Outdir: {{.*}}
13-
X86: Output: {{.*}}toolchain-msvc.test.tmp\foo.exe
14-
X86: Nodefaultlib: False
15-
X86: Opt: none
16-
X86: Mode: compile
17-
X86: Clean: True
18-
X86: Verbose: True
19-
X86: Dryrun: True
20-
X86: Inputs: foobar.c
21-
X86: Cleaning {{.*}}toolchain-msvc.test.tmp\foobar.ilk
22-
X86: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.exe-foobar.obj
23-
X86: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.pdb
24-
X86: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.exe
25-
X86: compiling foobar.c -> foo.exe-foobar.obj
26-
X86: Command Line: {{.*}}\{{[Hh]ost[Xx]64}}\x86\cl.exe
27-
X86: linking foo.exe-foobar.obj -> foo.exe
28-
X86: Command Line: {{.*}}\{{[Hh]ost[Xx]64}}\x86\link.exe
29-
X86: Env
30-
X86: LIB = {{.*}}\ATLMFC\lib\x86
31-
X86: {{.*}}\lib\x86
32-
X86: {{.*}}\ucrt\x86
33-
X86: {{.*}}\um\x86
34-
X86: PATH = {{.*}}\bin\{{[Hh]ost[Xx]64}}\x64
35-
36-
37-
X64: Script Arguments:
38-
X64: Arch: 64
39-
X64: Compiler: msvc
40-
X64: Outdir: {{.*}}
41-
X64: Output: {{.*}}toolchain-msvc.test.tmp\foo.exe
42-
X64: Nodefaultlib: False
43-
X64: Opt: none
44-
X64: Mode: compile
45-
X64: Clean: True
46-
X64: Verbose: True
47-
X64: Dryrun: True
48-
X64: Inputs: foobar.c
49-
X64: Cleaning {{.*}}toolchain-msvc.test.tmp\foobar.ilk
50-
X64: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.exe-foobar.obj
51-
X64: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.pdb
52-
X64: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.exe
53-
X64: compiling foobar.c -> foo.exe-foobar.obj
54-
X64: Command Line: {{.*}}\{{[Hh]ost[Xx]64}}\x64\cl.exe
55-
X64: linking foo.exe-foobar.obj -> foo.exe
56-
X64: Command Line: {{.*}}\{{[Hh]ost[Xx]64}}\x64\link.exe
57-
X64: Env
58-
X64: LIB = {{.*}}\ATLMFC\lib\x64
59-
X64: {{.*}}\lib\x64
60-
X64: {{.*}}\ucrt\x64
61-
X64: {{.*}}\um\x64
62-
X64: PATH = {{.*}}\bin\{{[Hh]ost[Xx]64}}\x64
1+
REQUIRES: system-windows, msvc
2+
3+
RUN: %build -n --verbose --arch=32 --compiler=msvc --mode=compile-and-link -o %t/foo.exe foobar.c \
4+
RUN: | FileCheck --check-prefix=32BIT %s
5+
6+
RUN: %build -n --verbose --arch=64 --compiler=msvc --mode=compile-and-link -o %t/foo.exe foobar.c \
7+
RUN: | FileCheck --check-prefix=64BIT %s
8+
9+
32BIT: Script Arguments:
10+
32BIT: Arch: 32
11+
32BIT: Compiler: msvc
12+
32BIT: Outdir: {{.*}}
13+
32BIT: Output: {{.*}}toolchain-msvc.test.tmp\foo.exe
14+
32BIT: Nodefaultlib: False
15+
32BIT: Opt: none
16+
32BIT: Mode: compile
17+
32BIT: Clean: True
18+
32BIT: Verbose: True
19+
32BIT: Dryrun: True
20+
32BIT: Inputs: foobar.c
21+
32BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foobar.ilk
22+
32BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.exe-foobar.obj
23+
32BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.pdb
24+
32BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.exe
25+
32BIT: compiling foobar.c -> foo.exe-foobar.obj
26+
32BIT: Command Line: {{.*}}\{{[Hh]ost[Xx](64|86)}}\{{(x86|arm)}}\cl.exe
27+
32BIT: linking foo.exe-foobar.obj -> foo.exe
28+
32BIT: Command Line: {{.*}}\{{[Hh]ost[Xx](64|86)}}\{{(x86|arm)}}\link.exe
29+
32BIT: Env
30+
32BIT: LIB = {{.*}}\ATLMFC\lib\{{(x86|arm)}}
31+
32BIT: {{.*}}\lib\{{(x86|arm)}}
32+
32BIT: {{.*}}\ucrt\{{(x86|arm)}}
33+
32BIT: {{.*}}\um\{{(x86|arm)}}
34+
32BIT: PATH = {{.*}}\bin\{{[Hh]ost[Xx](64|86)}}\{{(x86|x64)}}
35+
36+
37+
64BIT: Script Arguments:
38+
64BIT: Arch: 64
39+
64BIT: Compiler: msvc
40+
64BIT: Outdir: {{.*}}
41+
64BIT: Output: {{.*}}toolchain-msvc.test.tmp\foo.exe
42+
64BIT: Nodefaultlib: False
43+
64BIT: Opt: none
44+
64BIT: Mode: compile
45+
64BIT: Clean: True
46+
64BIT: Verbose: True
47+
64BIT: Dryrun: True
48+
64BIT: Inputs: foobar.c
49+
64BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foobar.ilk
50+
64BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.exe-foobar.obj
51+
64BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.pdb
52+
64BIT: Cleaning {{.*}}toolchain-msvc.test.tmp\foo.exe
53+
64BIT: compiling foobar.c -> foo.exe-foobar.obj
54+
64BIT: Command Line: {{.*}}\{{[Hh]ost[Xx](64|86)}}\{{(x64|arm64)}}\cl.exe
55+
64BIT: linking foo.exe-foobar.obj -> foo.exe
56+
64BIT: Command Line: {{.*}}\{{[Hh]ost[Xx](64|86)}}\{{(x64|arm64)}}\link.exe
57+
64BIT: Env
58+
64BIT: LIB = {{.*}}\ATLMFC\lib\{{(x64|arm64)}}
59+
64BIT: {{.*}}\lib\{{(x64|arm64)}}
60+
64BIT: {{.*}}\ucrt\{{(x64|arm64)}}
61+
64BIT: {{.*}}\um\{{(x64|arm64)}}
62+
64BIT: PATH = {{.*}}\bin\{{[Hh]ost[Xx](64|86)}}\{{(x86|x64)}}

0 commit comments

Comments
 (0)