[llvm-pdbutil] Crash while printing symbols for PDB generated by MS Visual Studio 2019. #55214
Labels
bug
Indicates an unexpected problem or unintended behavior
debuginfo
llvm:crash
llvm-tools
All llvm tools that do not have corresponding tag
Using the following command line:
llvm-pdbutil dump --symbols msvc-codeview-pdb.pdb
it causes a crash in
llvm/lib/DebugInfo/PDB/Native/DbiModuleList.cpp
As
FileInfoHeader
is null.However
llvm-pdbutil dump --symbols msvc-codeview-pdb.o
is fine.The attached reproducible files were generate by MS Visual Studio 2019 (Version 16.11.13)
crash-llvm-pdbutil.zip
The object files were generated using the command line:
cl.exe /nologo /EHsc /Od /Zi /Fomsvc-codeview-pdb.o /Fdmsvc-codeview-pdb.pdb /c test.cpp
The text was updated successfully, but these errors were encountered: