This finishes getting the string table and named stream map written to binary PDB and round-tripping through YAML.
This should be everything we need to start producing PDBs with strings filled out in the string table.
Paths
| Differential D28919
Write the Named Stream Map and StringTable to yaml / binary ClosedPublic Authored by zturner on Jan 19 2017, 2:27 PM.
Details Summary This finishes getting the string table and named stream map written to binary PDB and round-tripping through YAML. This should be everything we need to start producing PDBs with strings filled out in the string table.
Diff Detail Event TimelineComment Actions LGTM
This revision is now accepted and ready to land.Jan 19 2017, 2:33 PM Closed by commit rL292665: [pdb] Write the Named Stream mapping to Yaml and binary. (authored by zturner). · Explain WhyJan 20 2017, 2:53 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 85032 lld/COFF/PDB.cpp
llvm/include/llvm/DebugInfo/PDB/Raw/InfoStream.h
llvm/include/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h
llvm/include/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h
llvm/include/llvm/DebugInfo/PDB/Raw/StringTableBuilder.h
llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp
llvm/lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp
llvm/lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp
llvm/lib/DebugInfo/PDB/Raw/StringTableBuilder.cpp
llvm/test/DebugInfo/PDB/pdbdump-headers.test
llvm/test/DebugInfo/PDB/pdbdump-readwrite.test
llvm/test/DebugInfo/PDB/pdbdump-write.test
llvm/test/DebugInfo/PDB/pdbdump-yaml.test
llvm/tools/llvm-pdbdump/LLVMOutputStyle.h
llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp
llvm/tools/llvm-pdbdump/PdbYaml.h
llvm/tools/llvm-pdbdump/PdbYaml.cpp
llvm/tools/llvm-pdbdump/YAMLOutputStyle.h
llvm/tools/llvm-pdbdump/YAMLOutputStyle.cpp
llvm/tools/llvm-pdbdump/llvm-pdbdump.h
llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp
llvm/unittests/DebugInfo/PDB/StringTableBuilderTest.cpp
|
You might want to define printString(const Twine &) so that you don't need to use SmallString like this.