[PATCH] D20342: [codeview] Some cleanup of symbol records

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 15:44:17 PDT 2016


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

* Reworks the `CVSymbolTypes.def` to work similarly to `TypeRecords.def`.  
* Moves some enums from `SymbolRecords.h` to `CodeView.h` to maintain consistency with how we do type records.
* Generalize a few simple things like the record prefix
* Define the leaf enum and the kind enum similar to how we do with tyep records.

http://reviews.llvm.org/D20342

Files:
  include/llvm/DebugInfo/CodeView/CVSymbolTypes.def
  include/llvm/DebugInfo/CodeView/CodeView.h
  include/llvm/DebugInfo/CodeView/RecordIterator.h
  include/llvm/DebugInfo/CodeView/RecordSerialization.h
  include/llvm/DebugInfo/CodeView/SymbolRecord.h
  include/llvm/DebugInfo/CodeView/TypeRecord.h
  include/llvm/DebugInfo/CodeView/TypeRecordBuilder.h
  include/llvm/DebugInfo/CodeView/TypeStream.h
  lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  lib/MC/MCCodeView.cpp
  tools/llvm-readobj/COFFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20342.57533.patch
Type: text/x-patch
Size: 44050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160517/700571e7/attachment-0001.bin>


More information about the llvm-commits mailing list