xref: /llvm-project/llvm/test/DebugInfo/PDB/pdb-invalid-type.test (revision 6a7efef4af55b995fdfe9a0819adcb823cbb6191)
1# RUN: llvm-pdbutil yaml2pdb -pdb=%t1.pdb %p/Inputs/one-symbol.yaml
2# RUN: llvm-pdbutil yaml2pdb -pdb=%t2.pdb %s
3# RUN: not llvm-pdbutil merge -pdb=%t.pdb %t1.pdb %t2.pdb 2>&1 | FileCheck %s
4
5# CHECK: The CodeView record is corrupted
6
7---
8TpiStream:
9  Records:
10    # uint32_t* [Index: 0x1000]
11    - Kind:            LF_POINTER
12      Pointer:
13        ReferentType:    4097
14        Attrs:           32778
15...
16