mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[CodeView] Add coverage test for r338308 (Fixed crash in type merging)
llvm-svn: 338423
This commit is contained in:
parent
70c9e20af8
commit
f6a19b9e55
15
test/DebugInfo/PDB/pdb-invalid-type.test
Normal file
15
test/DebugInfo/PDB/pdb-invalid-type.test
Normal file
@ -0,0 +1,15 @@
|
||||
# RUN: llvm-pdbutil yaml2pdb -pdb=%t1.pdb %p/Inputs/one-symbol.yaml
|
||||
# RUN: llvm-pdbutil yaml2pdb -pdb=%t2.pdb %s
|
||||
# RUN: not llvm-pdbutil merge -pdb=%t.pdb %t1.pdb %t2.pdb 2>&1 | FileCheck %s
|
||||
|
||||
# CHECK: CodeView Error: The CodeView record is corrupted.
|
||||
|
||||
---
|
||||
TpiStream:
|
||||
Records:
|
||||
# uint32_t* [Index: 0x1000]
|
||||
- Kind: LF_POINTER
|
||||
Pointer:
|
||||
ReferentType: 4097
|
||||
Attrs: 32778
|
||||
...
|
Loading…
x
Reference in New Issue
Block a user