llvm-project/llvm/lib/DebugInfo/MSF
Zachary Turner 4d49eb9fa0 [CodeView] Refactor serialization to use StreamInterface.
This was all using ArrayRef<>s before which presents a problem
when you want to serialize to or deserialize from an actual
PDB stream.  An ArrayRef<> is really just a special case of
what can be handled with StreamInterface though (e.g. by using
a ByteStream), so changing this to use StreamInterface allows
us to plug in a PDB stream and get all the record serialization
and deserialization for free on a MappedBlockStream.

Subsequent patches will try to remove TypeTableBuilder and
TypeRecordBuilder in favor of class that operate on
Streams as well, which should allow us to completely merge
the reading and writing codepaths for both types and symbols.

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

llvm-svn: 284762
2016-10-20 18:31:19 +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
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
MappedBlockStream.cpp [pdb] Print out some more info when dumping a raw stream. 2016-09-09 19:00:49 +00:00
StreamReader.cpp [CodeView] Refactor serialization to use StreamInterface. 2016-10-20 18:31:19 +00:00
StreamWriter.cpp [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00