OSDN Git Service

[pdb] Get rid of Data and RawData in CVType.
authorZachary Turner <zturner@google.com>
Wed, 14 Sep 2016 23:00:16 +0000 (23:00 +0000)
committerZachary Turner <zturner@google.com>
Wed, 14 Sep 2016 23:00:16 +0000 (23:00 +0000)
commitb5689e754eef263d0d472bd2955eda4107f015c7
treed0f938b46b080934dd4c1cc354c4d6080931b419
parenta9d16c9445e8cd44d0c28f5dfcc020b50abf8a44
[pdb] Get rid of Data and RawData in CVType.

The `CVType` had two redundant fields which were confusing and
error-prone to fill out.  By treating member records as a distinct
type from leaf records, we are able to simplify this quite a bit.

Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D24432

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281556 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/llvm/DebugInfo/CodeView/CVRecord.h
include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h
include/llvm/DebugInfo/CodeView/CVTypeVisitor.h
include/llvm/DebugInfo/CodeView/TypeDeserializer.h
include/llvm/DebugInfo/CodeView/TypeDumper.h
include/llvm/DebugInfo/CodeView/TypeRecord.h
include/llvm/DebugInfo/CodeView/TypeSerializationVisitor.h
include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h
include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h
include/llvm/DebugInfo/PDB/Raw/TpiStreamBuilder.h
lib/DebugInfo/CodeView/CVTypeVisitor.cpp
lib/DebugInfo/CodeView/TypeDumper.cpp
lib/DebugInfo/CodeView/TypeStreamMerger.cpp
lib/DebugInfo/PDB/Raw/TpiHashing.cpp
tools/llvm-pdbdump/CodeViewYaml.cpp
tools/llvm-pdbdump/CodeViewYaml.h
tools/llvm-pdbdump/LLVMOutputStyle.cpp
tools/llvm-pdbdump/PdbYaml.h