1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/lib/DebugInfo/MSF
Bob Haarman 73e631de3c [pdb] handle missing pdb streams more gracefully
Summary: The code we use to read PDBs assumed that streams we ask it to read exist, and would read memory outside a vector and crash if this wasn't the case. This would, for example, cause llvm-pdbdump to crash on PDBs generated by lld. This patch handles such cases more gracefully: the PDB reading code in LLVM now reports errors when asked to get a stream that is not present, and llvm-pdbdump will report missing streams and continue processing streams that are present.

Reviewers: ruiu, zturner

Subscribers: thakis, amccarth

Differential Revision: https://reviews.llvm.org/D27325

llvm-svn: 288722
2016-12-05 22:44:00 +00:00
..
CMakeLists.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
LLVMBuild.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
MappedBlockStream.cpp [pdb] handle missing pdb streams more gracefully 2016-12-05 22:44:00 +00:00
MSFBuilder.cpp Do not pass a superblock to PDBFileBuilder. 2016-09-30 20:52:12 +00:00
MSFCommon.cpp [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
MSFError.cpp Remove LLVM_NOEXCEPT and replace it with noexcept 2016-10-19 23:52:38 +00:00
StreamReader.cpp [CodeView] Refactor serialization to use StreamInterface. 2016-10-20 18:31:19 +00:00
StreamWriter.cpp Add CodeViewRecordIO for reading and writing. 2016-11-02 17:05:19 +00:00