[llvm] [NativePDB] Fix crash in llvm-pdbutil (PR #164871)

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 24 06:01:11 PDT 2025


================
@@ -0,0 +1,10 @@
+; Test that the native PDB reader isn't crashed by index value bigger than
+; number of types in TPI stream
+; RUN: llvm-pdbutil dump %p/../Inputs/empty.pdb --type-index=20000000\
----------------
zmodem wrote:

I think `--id-index` has the same problem, and might also be fixed by this patch.

https://github.com/llvm/llvm-project/pull/164871


More information about the llvm-commits mailing list