Lines Matching full:lib
4 # RUN: mkdir -p %t.dir/sysroot/VC/Tools/MSVC/1.1.1.1/lib/x86
5 # RUN: mkdir -p %t.dir/sysroot/VC/Tools/MSVC/1.1.1.1/lib/x64
6 # RUN: cp %p/Inputs/std32.lib %t.dir/sysroot/VC/Tools/MSVC/1.1.1.1/lib/x86
7 # RUN: cp %p/Inputs/std64.lib %t.dir/sysroot/VC/Tools/MSVC/1.1.1.1/lib/x64
15 Check directly passed lib with /machine:
17 # RUN: std64.lib /entry:main
20 # RUN: std32.lib /entry:main
22 Check directly passed lib without /machine: (should infer from obj arch)
24 # RUN: std64.lib /entry:main
27 # RUN: std32.lib /entry:main
29 Check that passing a lib from /winsysroot twice is ok
31 # RUN: std64.lib std64.lib /entry:main
35 # RUN: notfound.lib /entry:main 2>&1 | FileCheck --check-prefix=UNKNOWNLIB %s
36 UNKNOWNLIB: could not open 'notfound.lib'
38 If winsysroot lib appears before we can detect arch we don't find it
39 # RUN: not lld-link std64.lib %p/Inputs/hello64.obj /winsysroot:%t.dir/sysroot \
44 # RUN: std64.lib /entry:main 2>&1 | FileCheck --check-prefix=NO64 %s
45 NO64: could not open 'std64.lib'
48 # RUN: std32.lib /entry:main 2>&1 | FileCheck --check-prefix=NO32 %s
49 NO32: could not open 'std32.lib'
51 Check that when /winsysroot is specified, %LIB% is ignored.
52 # RUN: env LIB=%t.dir/sysroot/VC/Tools/MSVC/1.1.1.1/lib/x86 not lld-link %t.obj /winsysroot:%t.dir/…
53 LIBIGNORED: could not open 'std32.lib'
55 Check that when -lldmingw is specified, %LIB% is ignored.
56 # RUN: env LIB=%t.dir/sysroot/VC/Tools/MSVC/1.1.1.1/lib/x86 not lld-link -lldmingw %t.obj /defaultl…