| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | incremental.test | 3 # RUN: lld-link -out:%t.dll -dll %t.obj 2>&1 \ 6 # RUN: lld-link -out:%t.dll -dll %t.obj 9 # RUN: lld-link -out:%t.dll -dll -incremental %t.obj 2>&1 \ 12 # RUN: lld-link -out:%t.dll -dll -incremental %t.obj 21 # RUN: lld-link -out:%t.dll -dll -debug %t.obj 2>&1 \ 24 # RUN: lld-link -out:%t.dll -dll -debug %t.obj 33 # RUN: lld-link -out:%t.dll -dll -opt:icf %t.obj 2>&1 \ 36 # RUN: lld-link -out:%t.dll -dll -opt:icf %t.obj 48 # RUN: lld-link -out:%t.dll -dll -debug -opt:icf %t.obj 51 # RUN: lld-link -out:%t.dll -dll -opt:ref %t.obj 2>&1 \ [all …]
|
| H A D | export32.test | 3 # RUN: lld-link -safeseh:no /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2 6 # RUN: lld-link -safeseh:no /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2 /merge:.eda… 11 # CHECK1: DLL name: export32.test.tmp.dll 23 # RUN: lld-link -safeseh:no /out:%t.dll /dll %t.obj /export:exportfn1,@5 \ 28 # CHECK2: DLL name: export32.test.tmp.dll 40 # RUN: lld-link -safeseh:no /out:%t.dll /dll %t.obj /export:exportfn1,@5,noname /export:exportfn2 54 # RUN: lld-link -safeseh:no /out:%t.dll /dll %t.obj /export:f1=exportfn1 /export:f2=exportfn2 67 # RUN: lld-link -safeseh:no /out:%t.dll /dll %t.obj /def:%t.def 72 # RUN: lld-link -safeseh:no /out:%t.dll /dll %t.obj /def:%t.def 84 # RUN: lld-link -safeseh:no /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2 \ [all …]
|
| H A D | export.test | 3 # RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2 7 CHECK1: DLL name: export.test.tmp.dll 13 # RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1,@5 /export:exportfn2 17 CHECK2: DLL name: export.test.tmp.dll 28 # RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1,@5,noname /export:exportfn2 32 CHECK3: DLL name: export.test.tmp.dll 42 # RUN: lld-link /out:%t.dll /dll %t.obj /export:f1=exportfn1 /export:f2=exportfn2 /implib:%t.lib 58 # RUN: lld-link /out:%t.dll /dll %t.obj /def:%t.def 86 # RUN: lld-link /out:%t.dll /dll %t.obj /export:foo=kernel32.foobar 90 # RUN: lld-link /out:%t.dll /dll %t.obj /def:%t.def [all …]
|
| H A D | rsds.test | 3 # RUN: rm -f %t.dll %t.pdb 4 # RUN: lld-link /debug /pdbaltpath:test.pdb /dll /out:%t.dll /entry:DllMain %t.obj 6 # RUN: lld-link /debug /pdbaltpath:test.pdb /dll /out:%t.dll /entry:DllMain %t.obj 10 # RUN: rm -f %t.dll %t.pdb 11 # RUN: lld-link /debug /pdb:%t1.pdb /dll /out:%t.dll /entry:DllMain %t.obj 13 # RUN: lld-link /debug /pdb:%t2.pdb /dll /out:%t.dll /entry:DllMain %t.obj 17 # RUN: rm -f %t.dll %t.pdb 18 # RUN: lld-link /Brepro /dll /out:%t.dll /entry:DllMain %t.obj 21 # RUN: rm -f %t.dll %t.pdb 22 # RUN: lld-link /Brepro /debug /dll /out:%t.dll /entry:DllMain %t.obj [all …]
|
| H A D | dll.test | 3 # RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2 \ 5 # RUN: llvm-objdump -p %t.dll | FileCheck --check-prefix=EXPORT %s 8 EXPORT: DLL name: dll.test.tmp.dll 19 # RUN: lld-link /out:%t5.dll /dll %t.obj %t4.lib /export:mangled2 20 # RUN: llvm-objdump -p %t5.dll | FileCheck --check-prefix=EXPORT2 %s 23 EXPORT2: DLL name: dll.test.tmp5.dll 30 # RUN: lld-link -opt:noicf /out:%t.lto.dll /dll %t.lto.obj /export:exportfn1 /export:exportfn2 31 # RUN: llvm-objdump -p %t.lto.dll | FileCheck --check-prefix=EXPORT-LTO %s 34 EXPORT-LTO: DLL name: dll.test.tmp.lto.dll 41 # RUN: lld-link /out:%t.dll /dll %t.obj /implib:%t2.lib \
|
| H A D | map.test | 1 # RUN: yaml2obj %p/Inputs/export.yaml -o %t-dll.obj 2 # RUN: lld-link /out:%t.dll /dll %t-dll.obj /implib:%t-dll.lib \ 5 # RUN: lld-link /out:%t.exe /entry:main %t.obj %t-dll.lib /map:%T/foo.map /lldmap 8 # RUN: lld-link /out:%t.exe /entry:main %t.obj %t-dll.lib /map /lldmap:%T/foo-lld.map 25 …01:00000010 exportfn1 0000000140001010 map.test.tmp-dll:map.test.tmp.dll 26 …01:00000020 exportfn2 0000000140001020 map.test.tmp-dll:map.test.tmp.dll 27 …02:00000040 __imp_exportfn1 0000000140002040 map.test.tmp-dll:map.test.tmp.dll 28 …02:00000048 __imp_exportfn2 0000000140002048 map.test.tmp-dll:map.test.tmp.dll
|
| H A D | crt-dyn-initializer-order.test | 35 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj %t1.obj %t2.obj 36 # RUN: llvm-readobj --sections --section-data %t.dll | FileCheck %s --check-prefixes CHECK,CASE1 39 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj %t2.obj %t1.obj 40 # RUN: llvm-readobj --sections --section-data %t.dll | FileCheck %s --check-prefixes CHECK,CASE2 43 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t1.obj %t2.obj %t.obj 44 # RUN: llvm-readobj --sections --section-data %t.dll | FileCheck %s --check-prefixes CHECK,CASE3 47 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t1.obj %t.obj %t2.obj 48 # RUN: llvm-readobj --sections --section-data %t.dll | FileCheck %s --check-prefixes CHECK,CASE4 51 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t2.obj %t1.obj %t.obj 52 # RUN: llvm-readobj --sections --section-data %t.dll | FileCheck %s --check-prefixes CHECK,CASE5 [all …]
|
| H A D | implib-name.test | 11 CHECK-DEFAULT-DLL-EXT: library.dll 12 CHECK-DEFAULT-DLL-EXT: library.dll 13 CHECK-DEFAULT-DLL-EXT: library.dll 14 CHECK-DEFAULT-DLL-EXT: library.dll 44 CHECK-OUTPUT-NAME-DLL: default.dll 45 CHECK-OUTPUT-NAME-DLL: default.dll 65 # RUN: lld-link /machine:x64 /dll /out:%T/default.dll %T/object.obj /entry:f /subsystem:CONSOLE 68 CHECK-NODEF-DLL: default.dll 69 CHECK-NODEF-DLL: default.dll 70 CHECK-NODEF-DLL: default.dll [all …]
|
| H A D | export-tricky-names.s | 6 # RUN: lld-link -entry:dllmain -dll -def:%t.def %t.obj -out:%t.1.dll 7 # RUN: llvm-readobj --coff-exports %t.1.dll | FileCheck %s 9 # RUN: lld-link -entry:dllmain -dll %t.obj -out:%t.2.dll -export:foo.bar 10 # RUN: llvm-readobj --coff-exports %t.2.dll | FileCheck %s 13 # RUN: lld-link -entry:dllmain -dll %t.drectve.obj -out:%t.3.dll 14 # RUN: llvm-readobj --coff-exports %t.3.dll | FileCheck %s
|
| H A D | comdat-gcc-compatibility-size.test | 3 # RUN: lld-link -lldmingw -noentry -dll %t.llvm.o %t.binutils.o -out:%t.dll 4 # RUN: lld-link -lldmingw -noentry -dll %t.binutils.o %t.llvm.o -out:%t.dll 5 # RUN: not lld-link -noentry -dll %t.llvm.o %t.binutils.o -out:%t.dll 6 # RUN: not lld-link -noentry -dll %t.binutils.o %t.llvm.o -out:%t.dll
|
| H A D | output-chars.test | 2 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj 3 # RUN: llvm-readobj --sections %t.dll | FileCheck %s 4 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj /section:.foo,rwe 5 # RUN: llvm-readobj --sections %t.dll | FileCheck --check-prefix=SECTION %s 6 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj /merge:.foo=.bar 7 # RUN: llvm-readobj --sections --section-data %t.dll | FileCheck --check-prefix=MERGE %s 8 # RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj /merge:.foo=.bar /section:.foo,rwe 9 # RUN: llvm-readobj --sections %t.dll | FileCheck --check-prefix=MERGE-SECTION %s
|
| H A D | wholearchive.s | 8 # RUN: lld-link -dll -out:%t.dll -entry:main %t.main.obj -wholearchive:%t.archive.lib -implib:%t.lib 11 # RUN: lld-link -dll -out:%t.dll -entry:main %t.main.obj -wholearchive %t.archive.lib -implib:%t.lib 14 # RUN: lld-link -dll -out:%t.dll -entry:main %t.main.obj %t.archive.lib -wholearchive:%t.archive.li… 18 # RUN: lld-link -dll -out:%t.dll -noentry -wholearchive:%t.archive.lib -implib:%t.lib 23 # RUN: lld-link -dll -out:%t.dll -entry:main -libpath:%t.dir %t.main.obj %t.dir/./foo.lib -wholearc…
|
| H A D | noentry.test | 2 # RUN: lld-link /out:%t.dll /dll %t.obj 3 # RUN: llvm-readobj --file-headers %t.dll | FileCheck -check-prefix=ENTRY %s 4 # RUN: lld-link /out:%t.dll /dll /noentry %t.obj 5 # RUN: llvm-readobj --file-headers %t.dll | FileCheck -check-prefix=NOENTRY %s
|
| H A D | icf-xdata.s | 3 # RUN: lld-link %t.obj -dll -noentry -out:%t.dll -merge:.xdata=.xdata 2>&1 \ 5 # RUN: llvm-readobj --sections %t.dll | FileCheck %s --check-prefix=XDATA 6 # RUN: lld-link %t.obj -dll -noentry -out:%t.dll 7 # RUN: llvm-readobj --sections %t.dll | FileCheck %s --check-prefix=RDATA
|
| H A D | def-name.test | 7 # RUN: lld-link /entry:main /dll in.obj 12 # RUN: lld-link /entry:main /def:foodll.def /dll in.obj 15 # RUN: lld-link /entry:main /out:bar.dll /def:foodll.def /dll in.obj 18 # RUN: llvm-readobj in.dll | FileCheck %s 21 # RUN: llvm-readobj foo.dll | FileCheck %s 24 # RUN: llvm-readobj bar.dll | FileCheck %s
|
| H A D | export-deleting-dtor.s | 6 # RUN: lld-link %t.obj -entry:dllmain -dll -export:'??_GFoo@@UEAAPEAXI@Z' -out:%t.1.dll 2>&1 | File… 8 # RUN: lld-link %t.obj -entry:dllmain -dll -def:%t.def -out:%t.2.dll 2>&1 | FileCheck %s 11 # RUN: lld-link %t.drectve.obj -entry:dllmain -dll -out:%t.3.dll 2>&1 | FileCheck %s
|
| H A D | duplicate-imp-func.s | 5 # RUN: lld-link -lldmingw -dll -out:%t.lib.dll -entry:libfunc %t.lib.o -implib:%t.lib.dll.a 17 # %t.lib.dll.a is a pure import library which provides "libfunc". 24 # %t.lib.dll.a is listed before %t.helper.a on the command line. After 26 # (%t.lib.dll.a) gets enqueued to be loaded. Before that gets done, helper2 28 # Once the import library member from %t.lib.dll.a gets loaded, libfunc 35 # include libfunc from %t.lib.dll.a and everything works fine. 36 # RUN: lld-link -lldmingw -out:%t.main.exe -entry:main %t.main.o %t.helper.a %t.lib.dll.a
|
| H A D | lto-cpu-string.ll | 4 ; RUN: lld-link %t.obj -noentry -nodefaultlib -out:%t.dll -dll 5 ; RUN: llvm-objdump -d --section=".text" --no-leading-addr --no-show-raw-insn %t.dll | FileCheck %s 8 ; RUN: lld-link -mllvm:-mcpu=znver1 -noentry -nodefaultlib %t.obj -out:%t.znver1.dll -dll 9 ; RUN: llvm-objdump -d --section=".text" --no-leading-addr --no-show-raw-insn %t.znver1.dll | FileC…
|
| H A D | exclude-all.s | 5 # RUN: lld-link -lldmingw -exclude-all-symbols -dll -out:%t.dll -entry:DllMainCRTStartup@12 %t.obj 6 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck %s -check-prefix=NO-EXPORTS 28 # RUN: lld-link -safeseh:no -out:%t.dll -dll %t.obj -lldmingw -exclude-all-symbols -output-def:%t.d… 29 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck -check-prefix=DLLEXPORT %s
|
| H A D | duplicate.test | 4 RUN: lld-link /out:alpha.dll /dll alpha.obj /implib:alpha.lib 5 RUN: not lld-link /out:beta.dll /dll alpha.obj beta.obj alpha.lib 2>&1 | FileCheck %s -check-prefix… 9 CHECK-APLHA: defined at alpha.dll 16 CHECK-GAMMA: defined at alpha.dll
|
| H A D | fixed.test | 15 # RUN: lld-link -safeseh:no %t.obj /dll /fixed /debug /out:%t.fixed.dll 16 # RUN: llvm-readobj --file-headers %t.fixed.dll | FileCheck -check-prefix=DLLFIXED %s 18 # RUN: lld-link -safeseh:no %t.obj /dll /debug /out:%t.dll 19 # RUN: llvm-readobj --file-headers %t.dll | FileCheck -check-prefix=DLLREL %s
|
| H A D | edata.s | 4 # RUN: lld-link -lldmingw -dll -out:%t.dll %t.o -entry:__ImageBase 2>&1 | FileCheck %s --allow-empt… 5 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck %s 6 # RUN: lld-link -lldmingw -dll -out:%t.dll %t.o -entry:__ImageBase -export:otherfunc 2>&1 | FileChe… 7 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck %s
|
| H A D | export-all.s | 5 # RUN: lld-link -lldmingw -dll -out:%t.dll -entry:DllMainCRTStartup@12 %t.obj -implib:%t.lib 6 # RUN: llvm-readobj --coff-exports %t.dll | grep Name: | FileCheck %s 7 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck %s --check-prefix=CHECK-RVA 60 # RUN: lld-link -safeseh:no -out:%t.dll -dll %t.obj -lldmingw -export-all-symbols -output-def:%t.def 61 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck -check-prefix=CHECK2 %s 91 # RUN: lld-link -safeseh:no -out:%t.dll -dll -entry:DllMainCRTStartup %t.main.obj -lldmingw %T/libs… 102 # RUN: lld-link -safeseh:no -out:%t.dll -dll -entry:DllMainCRTStartup %t.main.obj -lldmingw %T/libs… 114 # RUN: lld-link -lldmingw -dll -out:%t.dll -entry:main@0 %t.obj -implib:%t.lib -opt:noref %p/Inputs…
|
| /llvm-project-15.0.7/lld/test/MinGW/ |
| H A D | lib.test | 6 RUN: echo > %t/lib/libfoo.dll.a 8 LIB2: libfoo.dll.a 27 RUN: echo > %t/lib/libbar.dll.a 33 LIB5-SAME: libbar.dll.a 35 RUN: echo > %t/lib/noprefix.dll.a 38 OTHERSTYLES: noprefix.dll.a 41 RUN: echo > %t/lib/libnoimplib.dll 42 RUN: echo > %t/lib/noprefix_noimplib.dll 45 DLL1: libnoimplib.dll 46 DLL2: noprefix_noimplib.dll
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/PDB/Native/ |
| H A D | pdb-native-compilands.test | 53 BIGREAD: Import:KERNEL32.dll 54 BIGREAD: KERNEL32.dll 55 BIGREAD: Import:VCRUNTIME140.dll 56 BIGREAD: VCRUNTIME140.dll 58 BIGREAD: api-ms-win-crt-stdio-l1-1-0.dll 60 BIGREAD: api-ms-win-crt-runtime-l1-1-0.dll 61 BIGREAD: Import:api-ms-win-crt-math-l1-1-0.dll 62 BIGREAD: api-ms-win-crt-math-l1-1-0.dll 64 BIGREAD: api-ms-win-crt-locale-l1-1-0.dll 65 BIGREAD: Import:api-ms-win-crt-heap-l1-1-0.dll [all …]
|