14 lines · plain
1; Test that the native PDB reader isn't crashed by index value bigger than2; number of types in TPI or IPI stream3; RUN: llvm-pdbutil dump %p/../Inputs/empty.pdb --type-index=20000000\4; RUN: | FileCheck -check-prefixes=TYPES,NOT_FOUND %s5; RUN: llvm-pdbutil dump %p/../Inputs/empty.pdb --id-index=20000000\6; RUN: | FileCheck -check-prefixes=IDS,NOT_FOUND %s7 8TYPES: Types (TPI Stream)9IDS: Types (IPI Stream)10NOT_FOUND:============================================================11NOT_FOUND: Showing 1 records.12NOT_FOUND: Type 0x1312D00 doesn't exist in TPI stream13 14