diff options
Diffstat (limited to 'llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp')
| -rw-r--r-- | llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp b/llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp index d070e5b4aea..365386f0a27 100644 --- a/llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp +++ b/llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp @@ -90,12 +90,6 @@ Error DumpOutputStyle::dump() { P.NewLine(); } - if (opts::dump::DumpNamedStreams) { - if (auto EC = dumpNamedStreams()) - return EC; - P.NewLine(); - } - if (opts::dump::DumpStringTable) { if (auto EC = dumpStringTable()) return EC; @@ -915,29 +909,6 @@ Error DumpOutputStyle::dumpStringTableFromObj() { return Error::success(); } -Error DumpOutputStyle::dumpNamedStreams() { - printHeader(P, "Named Streams"); - AutoIndent Indent(P, 2); - - if (File.isObj()) { - P.formatLine("Dumping Named Streams is only supported for PDB files."); - return Error::success(); - } - ExitOnError Err("Invalid PDB File: "); - - auto &IS = Err(File.pdb().getPDBInfoStream()); - const NamedStreamMap &NS = IS.getNamedStreams(); - for (const auto &Entry : NS.entries()) { - P.printLine(Entry.getKey()); - AutoIndent Indent2(P, 2); - P.formatLine("Index: {0}", Entry.getValue()); - P.formatLine("Size in bytes: {0}", - File.pdb().getStreamByteSize(Entry.getValue())); - } - - return Error::success(); -} - Error DumpOutputStyle::dumpStringTable() { printHeader(P, "String Table"); |

