1 RUN: echo "/nodefaultlib" > %t.rsp
2 RUN: lld-link /debug /pdb:%t.pdb @%t.rsp /entry:"1 "'"'hello'"'" 2" /manifestuac:"level='asInvoker' uiAccess='false'" %S/Inputs/pdb-diff.obj /force
3 RUN: llvm-pdbutil dump -modules %t.pdb | FileCheck --check-prefix=MODS %s
4 RUN: llvm-pdbutil dump -symbols %t.pdb | FileCheck --check-prefix=SYMS %s
6 MODS: Mod 0001 | `* Linker *`
8 MODS-NEXT: debug stream: 13, # files: 0, has ec info: false
9 MODS-NEXT: pdb file ni: 1 `{{.*}}pdb-linker-module.test.tmp.pdb`, src file ni: 0 ``
11 SYMS: Mod 0001 | `* Linker *`
12 SYMS-NEXT: 4 | S_OBJNAME [size = 20] sig=0, `* Linker *`
13 SYMS-NEXT: 24 | S_COMPILE3 [size = 40]
14 SYMS-NEXT: machine = intel 80386, Ver = LLVM Linker, language = link
15 SYMS-NEXT: frontend = 0.0.0.0, backend = 14.10.25019.0
16 SYMS-NEXT: flags = none
17 SYMS-NEXT: 64 | S_ENVBLOCK
21 SYMS-NEXT: - {{.*}}lld-link
23 SYMS-NEXT: - {{.*}}pdb-linker-module{{.*}}pdb
25 SYMS-NEXT: - /debug /pdb:{{.*}}pdb-linker-module{{.*}}pdb /nodefaultlib "/entry:1 ""hello"" 2" "/manifestuac:level='asInvoker' uiAccess='false'" /force