[PATCH] D33564: [CodeView Type Merging] Make a Type Index Iterator that bypasses the visitor framework

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 15:21:17 PDT 2017


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

Fix the crasher.  It was because we were only handling `LF_CLASS`, but not `LF_STRUCTURE` which has the same format.  Added a unit test for this.


https://reviews.llvm.org/D33564

Files:
  llvm/include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h
  llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
  llvm/lib/DebugInfo/CodeView/CMakeLists.txt
  llvm/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
  llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp
  llvm/unittests/DebugInfo/CodeView/CMakeLists.txt
  llvm/unittests/DebugInfo/CodeView/ErrorChecking.h
  llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33564.100313.patch
Type: text/x-patch
Size: 50104 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170525/8ba83c3e/attachment.bin>


More information about the llvm-commits mailing list