xref: /llvm-project/lld/test/COFF/invalid-input-pdb.ll (revision 84038cf914f6a0060477ba35bafbff2fd0c49fe0)
1; REQUIRES: x86
2; RUN: llvm-as -o %t.obj %s
3
4; Verify that an invalid but unused input pdb file doesn't trigger any warning or error.
5; RUN: lld-link /out:%t.exe %t.obj %S/Inputs/bad-block-size.pdb /entry:main /subsystem:console /WX
6
7target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
8target triple = "x86_64-pc-windows-msvc"
9
10define void @main() {
11  ret void
12}
13
14
15