[PATCH] D25752: Make TypeRecordBuilder usable for symbols

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 18 14:27:53 PDT 2016


zturner created this revision.
zturner added a reviewer: rnk.
zturner added a subscriber: llvm-commits.
Herald added subscribers: modocache, mgorny, beanz.

`TypeRecordBuilder` is overly specific to type records, even though 99% of it is re-usable for symbol records as well.  Raise out the type specific stuff so that it can be used for writing symbols.


https://reviews.llvm.org/D25752

Files:
  include/llvm/DebugInfo/CodeView/CodeViewRecordBuilder.h
  include/llvm/DebugInfo/CodeView/ListRecordBuilder.h
  include/llvm/DebugInfo/CodeView/SymbolTableBuilder.h
  include/llvm/DebugInfo/CodeView/TypeRecordBuilder.h
  lib/DebugInfo/CodeView/CMakeLists.txt
  lib/DebugInfo/CodeView/CodeViewRecordBuilder.cpp
  lib/DebugInfo/CodeView/FieldListRecordBuilder.cpp
  lib/DebugInfo/CodeView/ListRecordBuilder.cpp
  lib/DebugInfo/CodeView/SymbolTableBuilder.cpp
  lib/DebugInfo/CodeView/TypeRecordBuilder.cpp
  lib/DebugInfo/CodeView/TypeTableBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25752.75074.patch
Type: text/x-patch
Size: 24170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161018/6e12f16e/attachment.bin>


More information about the llvm-commits mailing list