[PATCH] D25831: [CodeView] Refactor lots of stuff to use StreamRefs
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 20 09:23:35 PDT 2016
zturner created this revision.
zturner added reviewers: rnk, inglorion.
zturner added a subscriber: llvm-commits.
I started down the path of trying to merge the serialization and deserialization for types and symbols. This is difficult as it stands, because all of the "real" PDB code uses `StreamInterface` stuff to avoid having to copy entire streams, which could be hundreds of MB. But the serialization code all uses `ArrayRef` for everything. This changes everything to use `StreamReader`. In the process, I found lots of duplicated code in `RecordSerialization.cpp` and `RecordSerailization.h` that was already written in `StreamReader.cpp`. All of that has been removed since everything is now using `StreamReader`.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 83915 bytes
Desc: not available
More information about the llvm-commits