diff options
Diffstat (limited to 'tools/llvm-pdbdump/CompilandDumper.h')
-rw-r--r-- | tools/llvm-pdbdump/CompilandDumper.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/llvm-pdbdump/CompilandDumper.h b/tools/llvm-pdbdump/CompilandDumper.h index 0d1d27cd7a436..462aaeb2611fe 100644 --- a/tools/llvm-pdbdump/CompilandDumper.h +++ b/tools/llvm-pdbdump/CompilandDumper.h @@ -13,14 +13,18 @@ #include "llvm/DebugInfo/PDB/PDBSymDumper.h" namespace llvm { +namespace pdb { class LinePrinter; +typedef int CompilandDumpFlags; class CompilandDumper : public PDBSymDumper { public: + enum Flags { None = 0x0, Children = 0x1, Symbols = 0x2, Lines = 0x4 }; + CompilandDumper(LinePrinter &P); - void start(const PDBSymbolCompiland &Symbol, bool Children); + void start(const PDBSymbolCompiland &Symbol, CompilandDumpFlags flags); void dump(const PDBSymbolCompilandDetails &Symbol) override; void dump(const PDBSymbolCompilandEnv &Symbol) override; @@ -35,5 +39,6 @@ private: LinePrinter &Printer; }; } +} #endif |