llvm-project/llvm/lib/DebugInfo/CodeView
Zachary Turner d427383cb8 [CodeView] Move CodeView YAML code to ObjectYAML.
This is the beginning of an effort to move the codeview yaml
reader / writer into ObjectYAML so that it can be shared.
Currently the only consumer / producer of CodeView YAML is
llvm-pdbdump, but CodeView can exist outside of PDB files, and
indeed is put into object files and passed to the linker to
produce PDB files.  Furthermore, there are subtle differences
in the types of records that show up in object file CodeView
vs PDB file CodeView, but they are otherwise 99% the same.

By having this code in ObjectYAML, we can have llvm-pdbdump
reuse this code, while teaching obj2yaml and yaml2obj to use
this syntax for dealing with object files that can contain
CodeView.

This patch only adds support for CodeView type information
to ObjectYAML.  Subsequent patches will add support for
CodeView symbol information.

llvm-svn: 304248
2017-05-30 21:53:05 +00:00
..
CMakeLists.txt [CodeView] Add more DebugSubsection implementations. 2017-05-30 17:13:33 +00:00
CVSymbolVisitor.cpp [CodeView] Move CodeView YAML code to ObjectYAML. 2017-05-30 21:53:05 +00:00
CVTypeVisitor.cpp [CodeView] Move CodeView YAML code to ObjectYAML. 2017-05-30 21:53:05 +00:00
CodeViewError.cpp [pdb] Add the ability to resolve TypeServer PDBs. 2017-02-16 23:35:45 +00:00
CodeViewRecordIO.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
DebugChecksumsSubsection.cpp [CodeView] Add more DebugSubsection implementations. 2017-05-30 17:13:33 +00:00
DebugFrameDataSubsection.cpp [CodeView] Add more DebugSubsection implementations. 2017-05-30 17:13:33 +00:00
DebugInlineeLinesSubsection.cpp [CodeView] Add more DebugSubsection implementations. 2017-05-30 17:13:33 +00:00
DebugLinesSubsection.cpp [CodeView] Add more DebugSubsection implementations. 2017-05-30 17:13:33 +00:00
DebugStringTableSubsection.cpp [CodeView] Add more DebugSubsection implementations. 2017-05-30 17:13:33 +00:00
DebugSubsection.cpp [CodeView] Rename ModuleDebugFragment -> DebugSubsection. 2017-05-30 16:36:15 +00:00
DebugSubsectionRecord.cpp [CodeView] Add more DebugSubsection implementations. 2017-05-30 17:13:33 +00:00
DebugSubsectionVisitor.cpp [CodeView] Rename ModuleDebugFragment -> DebugSubsection. 2017-05-30 16:36:15 +00:00
DebugSymbolsSubsection.cpp [CodeView] Add more DebugSubsection implementations. 2017-05-30 17:13:33 +00:00
EnumTables.cpp [CodeView] Move CodeView YAML code to ObjectYAML. 2017-05-30 21:53:05 +00:00
Formatters.cpp Properly parse the TypeServer2 record. 2017-02-03 21:22:27 +00:00
LLVMBuild.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
LazyRandomTypeCollection.cpp Resubmit "[CodeView] Provide a common interface for type collections." 2017-05-19 19:26:58 +00:00
Line.cpp
RecordSerialization.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
SymbolDumper.cpp [CodeView] Move CodeView YAML code to ObjectYAML. 2017-05-30 21:53:05 +00:00
SymbolRecordMapping.cpp Resubmit "[CodeView] Hook CodeViewRecordIO for reading/writing symbols." 2016-12-16 22:48:14 +00:00
SymbolSerializer.cpp [llvm-pdbdump] Add support for dumping symbols from Yaml -> PDB. 2017-03-13 14:57:45 +00:00
TypeDatabase.cpp Resubmit "[CodeView] Provide a common interface for type collections." 2017-05-19 19:26:58 +00:00
TypeDatabaseVisitor.cpp [CodeView] Add a random access type visitor. 2017-05-12 19:18:12 +00:00
TypeDumpVisitor.cpp [CodeView] Move CodeView YAML code to ObjectYAML. 2017-05-30 21:53:05 +00:00
TypeIndex.cpp Resubmit "[CodeView] Provide a common interface for type collections." 2017-05-19 19:26:58 +00:00
TypeIndexDiscovery.cpp [CV Type Merging] Find nested type indices faster. 2017-05-25 23:36:16 +00:00
TypeRecordMapping.cpp [codeview] Add support for label type records 2017-04-03 21:25:20 +00:00
TypeSerializer.cpp [CodeView Type Merging] Don't keep re-allocating temp serializer. 2017-05-25 21:15:37 +00:00
TypeStreamMerger.cpp Remove unused member. 2017-05-25 23:47:56 +00:00
TypeTableCollection.cpp [PDB] Hash types up front when merging types instead of using StringMap 2017-05-23 18:23:59 +00:00