You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.2 KiB

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