[PATCH] D31629: [codeview] Cope with unsorted streams in type merging

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 15:32:32 PDT 2017


rnk created this revision.

MASM can produce type streams that are not topologically sorted. It can
even produce type streams with circular references, but those are not
common in practice.


https://reviews.llvm.org/D31629

Files:
  llvm/include/llvm/DebugInfo/CodeView/TypeTableBuilder.h
  llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp
  llvm/test/tools/llvm-readobj/Inputs/codeview-cycle.obj
  llvm/test/tools/llvm-readobj/Inputs/codeview-unsorted.obj
  llvm/test/tools/llvm-readobj/codeview-merging-cycle.test
  llvm/test/tools/llvm-readobj/codeview-merging-unsorted.test
  llvm/tools/llvm-readobj/COFFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31629.93959.patch
Type: text/x-patch
Size: 12179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170403/baa90836/attachment.bin>


More information about the llvm-commits mailing list