[PATCH] D33480: [CodeView Type Merging] Try hard not to deserialize records when re-writing type indices

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 22:17:06 PDT 2017


zturner updated this revision to Diff 100039.
zturner added a comment.

Minor improvement.  Store the temporary storage in the type hasher so that we don't re-allocate on every record, but only when a record is larger than any other record we've seen.


https://reviews.llvm.org/D33480

Files:
  llvm/include/llvm/DebugInfo/CodeView/CVRecord.h
  llvm/include/llvm/DebugInfo/CodeView/CVTypeVisitor.h
  llvm/include/llvm/DebugInfo/CodeView/TypeDeserializer.h
  llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
  llvm/include/llvm/DebugInfo/CodeView/TypeSerializer.h
  llvm/include/llvm/DebugInfo/CodeView/TypeTableBuilder.h
  llvm/lib/DebugInfo/CodeView/CVTypeVisitor.cpp
  llvm/lib/DebugInfo/CodeView/TypeSerializer.cpp
  llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp
  llvm/lib/DebugInfo/PDB/Native/PDBTypeServerHandler.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33480.100039.patch
Type: text/x-patch
Size: 27804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170524/72d03f6a/attachment.bin>


More information about the llvm-commits mailing list