diff options
Diffstat (limited to 'tools/llvm-pdbdump/LLVMOutputStyle.h')
-rw-r--r-- | tools/llvm-pdbdump/LLVMOutputStyle.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/llvm-pdbdump/LLVMOutputStyle.h b/tools/llvm-pdbdump/LLVMOutputStyle.h index 816d591f08f8..bfff3b8308db 100644 --- a/tools/llvm-pdbdump/LLVMOutputStyle.h +++ b/tools/llvm-pdbdump/LLVMOutputStyle.h @@ -12,9 +12,12 @@ #include "OutputStyle.h" +#include "llvm/ADT/SmallVector.h" #include "llvm/DebugInfo/CodeView/TypeDatabase.h" #include "llvm/Support/ScopedPrinter.h" +#include <string> + namespace llvm { class BitVector; namespace pdb { @@ -25,8 +28,6 @@ public: Error dump() override; private: - void discoverStreamPurposes(); - Error dumpFileHeaders(); Error dumpStreamSummary(); Error dumpFreePageMap(); @@ -34,6 +35,7 @@ private: Error dumpGlobalsStream(); Error dumpStreamBytes(); Error dumpStreamBlocks(); + Error dumpStringTable(); Error dumpInfoStream(); Error dumpTpiStream(uint32_t StreamIdx); Error dumpDbiStream(); @@ -50,7 +52,8 @@ private: PDBFile &File; ScopedPrinter P; codeview::TypeDatabase TypeDB; - std::vector<std::string> StreamPurposes; + codeview::TypeDatabase ItemDB; + SmallVector<std::string, 32> StreamPurposes; }; } } |