Lines Matching +full:lld +full:- +full:build

1 # RUN: yaml2obj %s -o %t.obj
3 # RUN: rm -f %t.dll %t.pdb
4 # RUN: lld-link /debug /pdbaltpath:test.pdb /dll /out:%t.dll /entry:DllMain %t.obj
5 # RUN: llvm-readobj --coff-debug-directory %t.dll > %t.1.txt
6 # RUN: lld-link /debug /pdbaltpath:test.pdb /dll /out:%t.dll /entry:DllMain %t.obj
7 # RUN: llvm-readobj --coff-debug-directory %t.dll > %t.2.txt
10 # RUN: rm -f %t.dll %t.pdb
11 # RUN: lld-link /debug /pdb:%t1.pdb /dll /out:%t.dll /entry:DllMain %t.obj
12 # RUN: llvm-readobj --coff-debug-directory %t.dll > %t.3.txt
13 # RUN: lld-link /debug /pdb:%t2.pdb /dll /out:%t.dll /entry:DllMain %t.obj
14 # RUN: llvm-readobj --coff-debug-directory %t.dll > %t.4.txt
15 # RUN: cat %t.3.txt %t.4.txt | FileCheck --check-prefix TWOPDBS %s
17 # RUN: rm -f %t.dll %t.pdb
18 # RUN: lld-link /Brepro /dll /out:%t.dll /entry:DllMain %t.obj
19 # RUN: llvm-readobj --coff-debug-directory %t.dll | FileCheck --check-prefix REPRO %s
21 # RUN: rm -f %t.dll %t.pdb
22 # RUN: lld-link /Brepro /debug /dll /out:%t.dll /entry:DllMain %t.obj
23 # RUN: llvm-readobj --coff-debug-directory %t.dll | FileCheck --check-prefix REPRODEBUG %s
25 # Generate .buildid section using binary hash under /lldmingw and /build-id
26 # RUN: rm -f %t.dll %t.pdb
27 # RUN: lld-link /lldmingw /build-id /dll /out:%t.dll /entry:DllMain %t.obj
28 # RUN: llvm-readobj --coff-debug-directory %t.dll | FileCheck --check-prefix BUILDID %s
30 # Generate debug directory with use binary hash when /build-id is given and not
32 # RUN: rm -f %t.dll %t.pdb
33 # RUN: lld-link /build-id /dll /out:%t.dll /entry:DllMain %t.obj
34 # RUN: llvm-readobj --coff-debug-directory %t.dll | FileCheck --check-prefix BUILDID %s
36 # If generate PDB, PDB hash is used and /build-id is ignored.
37 # RUN: rm -f %t.dll %t.pdb
38 # RUN: lld-link /build-id /debug /pdbaltpath:test.pdb /dll /out:%t.dll /entry:DllMain %t.obj
39 # RUN: llvm-readobj --coff-debug-directory %t.dll | FileCheck --check-prefix BUILDID %s
41 # Do not generate .buildid section under /build-id:no
42 # RUN: rm -f %t.dll %t.pdb
43 # RUN: lld-link /build-id:no /dll /out:%t.dll /entry:DllMain %t.obj
44 # RUN: llvm-readobj --coff-debug-directory %t.dll | FileCheck --check-prefix NO_BUILDID %s
46 # RUN: rm -f %t.dll %t.pdb
47 # RUN: lld-link /dll /out:%t.dll /entry:DllMain %t.obj
48 # RUN: llvm-readobj --coff-debug-directory %t.dll | FileCheck --check-prefix NO_BUILDID %s
63 # CHECK: PDBGUID: [[GUID:\{[A-Za-z0-9\-]{36}\}]]
102 # TWOPDBS: PDBGUID: [[GUID:\{[A-Za-z0-9\-]{36}\}]]
121 # TWOPDBS-NOT: PDBGUID: [[GUID]]
185 # BUILDID: PDBGUID: [[GUID:\{[A-Za-z0-9\-]{36}\}]]
193 # NO_BUILDID-NEXT: ]
196 --- !COFF
201 - Name: .text
205 - Name: .data
209 - Name: .bss
214 - Name: .text
226 - Name: .data
238 - Name: .bss
250 - Name: '@feat.00'
252 SectionNumber: -1
256 - Name: _DllMain