[PATCH] D19899: [codeview] Add a type visitor to help abstract away type stream handling

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 19:46:39 PDT 2016


rnk created this revision.
rnk added reviewers: zturner, amccarth.
rnk added a subscriber: llvm-commits.

Port the dumper in llvm-readobj over to it.

I'm planning to use this visitor to power type stream merging.

While we're at it, try to switch from StringRef to ArrayRef<uint8_t> in some
places.

http://reviews.llvm.org/D19899

Files:
  include/llvm/DebugInfo/CodeView/CVLeafTypes.def
  include/llvm/DebugInfo/CodeView/CVTypeVisitor.h
  include/llvm/DebugInfo/CodeView/TypeRecords.def
  include/llvm/DebugInfo/CodeView/TypeStream.h
  tools/llvm-readobj/COFFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19899.56088.patch
Type: text/x-patch
Size: 51862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160504/44f8f645/attachment.bin>


More information about the llvm-commits mailing list