summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-pdbdump/PdbYaml.h
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-08-16 23:37:10 +0000
committerJustin Bogner <mail@justinbogner.com>2016-08-16 23:37:10 +0000
commit39eec466a220cfa4152bbcbc956f9a4fd3a84699 (patch)
treeb5d57a327f42e1cbc9865f2662cb09cfc499f5ab /llvm/tools/llvm-pdbdump/PdbYaml.h
parentdcbce9c3919ab6919de09f64e83fcf26d6353f0b (diff)
downloadbcm5719-llvm-39eec466a220cfa4152bbcbc956f9a4fd3a84699.tar.gz
bcm5719-llvm-39eec466a220cfa4152bbcbc956f9a4fd3a84699.zip
Revert "Write the TPI stream from a PDB to Yaml."
This is hitting a "use of undeclared identifier 'skipPadding' error locally and on some bots. This reverts r278869. llvm-svn: 278871
Diffstat (limited to 'llvm/tools/llvm-pdbdump/PdbYaml.h')
-rw-r--r--llvm/tools/llvm-pdbdump/PdbYaml.h25
1 files changed, 6 insertions, 19 deletions
diff --git a/llvm/tools/llvm-pdbdump/PdbYaml.h b/llvm/tools/llvm-pdbdump/PdbYaml.h
index 0da53034bf1..5dbc5686282 100644
--- a/llvm/tools/llvm-pdbdump/PdbYaml.h
+++ b/llvm/tools/llvm-pdbdump/PdbYaml.h
@@ -69,23 +69,12 @@ struct PdbDbiStream {
std::vector<PdbDbiModuleInfo> ModInfos;
};
-struct PdbTpiRecord {
- std::vector<uint8_t> RecordData;
- codeview::CVType Record;
-};
-
-struct PdbTpiStream {
- PdbRaw_TpiVer Version;
- std::vector<PdbTpiRecord> Records;
-};
-
struct PdbObject {
Optional<MSFHeaders> Headers;
Optional<std::vector<uint32_t>> StreamSizes;
Optional<std::vector<StreamBlockList>> StreamMap;
Optional<PdbInfoStream> PdbStream;
Optional<PdbDbiStream> DbiStream;
- Optional<PdbTpiStream> TpiStream;
};
}
}
@@ -118,10 +107,6 @@ template <> struct MappingTraits<pdb::yaml::PdbDbiStream> {
static void mapping(IO &IO, pdb::yaml::PdbDbiStream &Obj);
};
-template <> struct MappingTraits<pdb::yaml::PdbTpiStream> {
- static void mapping(IO &IO, pdb::yaml::PdbTpiStream &Obj);
-};
-
template <> struct MappingTraits<pdb::yaml::NamedStreamMapping> {
static void mapping(IO &IO, pdb::yaml::NamedStreamMapping &Obj);
};
@@ -129,11 +114,13 @@ template <> struct MappingTraits<pdb::yaml::NamedStreamMapping> {
template <> struct MappingTraits<pdb::yaml::PdbDbiModuleInfo> {
static void mapping(IO &IO, pdb::yaml::PdbDbiModuleInfo &Obj);
};
-
-template <> struct MappingTraits<pdb::yaml::PdbTpiRecord> {
- static void mapping(IO &IO, pdb::yaml::PdbTpiRecord &Obj);
-};
}
}
+LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(uint32_t)
+LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::StringRef)
+LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::pdb::yaml::NamedStreamMapping)
+LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::pdb::yaml::PdbDbiModuleInfo)
+LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::pdb::yaml::StreamBlockList)
+
#endif // LLVM_TOOLS_LLVMPDBDUMP_PDBYAML_H
OpenPOWER on IntegriCloud