[pdb] Round-trip module & file info to/from YAML.
authorZachary Turner <zturner@google.com>
Fri, 22 Jul 2016 15:46:37 +0000 (15:46 +0000)
committerZachary Turner <zturner@google.com>
Fri, 22 Jul 2016 15:46:37 +0000 (15:46 +0000)
commitd218c261247edb8b44132fcff3588a67494effb6
treea0f8928f13397f9e1491638ca3a040241e96f4d1
parentb772151a17a508355ad46db63d13da1dbec32b09
[pdb] Round-trip module & file info to/from YAML.

This implements support for writing compiland and compiland source
file info to a binary PDB.  This is tested by adding support for
dumping these fields from an existing PDB to yaml, reading them
back in, and dumping them again and verifying the values are as
expected.

llvm-svn: 276426
15 files changed:
llvm/include/llvm/DebugInfo/PDB/Raw/DbiStream.h
llvm/include/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h
llvm/include/llvm/DebugInfo/PDB/Raw/ModInfo.h
llvm/include/llvm/DebugInfo/PDB/Raw/RawError.h
llvm/lib/DebugInfo/CodeView/StreamWriter.cpp
llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp
llvm/lib/DebugInfo/PDB/Raw/DbiStreamBuilder.cpp
llvm/lib/DebugInfo/PDB/Raw/ModInfo.cpp
llvm/lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp
llvm/lib/DebugInfo/PDB/Raw/RawError.cpp
llvm/tools/llvm-pdbdump/PdbYaml.cpp
llvm/tools/llvm-pdbdump/PdbYaml.h
llvm/tools/llvm-pdbdump/YAMLOutputStyle.cpp
llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp
llvm/tools/llvm-pdbdump/llvm-pdbdump.h