Skip to content

Commit b92d3ad

Browse files
committed
[CodeView] Add coverage test for r338308 (Fixed crash in type merging)
llvm-svn: 338423
1 parent 9fe9a95 commit b92d3ad

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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: CodeView Error: The CodeView record is corrupted.
6+
7+
---
8+
TpiStream:
9+
Records:
10+
# uint32_t* [Index: 0x1000]
11+
- Kind: LF_POINTER
12+
Pointer:
13+
ReferentType: 4097
14+
Attrs: 32778
15+
...

0 commit comments

Comments
 (0)