[Lldb-commits] [lldb] [llvm] [lldb][NativePDB] Fix crash in debugger when PDB has bad type index value (PR #166455)

Vladimir Gorsunov via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 5 04:21:54 PST 2025


gv wrote:

> Can you add a test that (used to) reproduce(s) the crash? Presumably this isn't covered when running the API tests with PDB support?

I'll try, although I'm not sure yet how. It will need a PDB file which is broken in a certain way. Right now I have 200MB PDB produced by MSVS that triggered a crash for me, but I don't think there's any way to use that. There probably must be a way to use `llbm-pdbutil yaml2pdb` to synthesize something small and sufficiently broken...

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


More information about the lldb-commits mailing list