[llvm-pdbdump] Fix a few compilation failures.
[oota-llvm.git] / tools / llvm-pdbdump / CompilandDumper.h
1 //===- CompilandDumper.h - llvm-pdbdump compiland symbol dumper *- C++ --*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLVM_TOOLS_LLVMPDBDUMP_COMPILANDDUMPER_H
11 #define LLVM_TOOLS_LLVMPDBDUMP_COMPILANDDUMPER_H
12
13 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
14
15 namespace llvm {
16
17 class CompilandDumper : public PDBSymDumper {
18 public:
19   CompilandDumper();
20
21   void start(const PDBSymbolCompiland &Symbol, raw_ostream &OS, int Indent,
22              bool Children);
23
24   void dump(const PDBSymbolCompilandDetails &Symbol, raw_ostream &OS,
25             int Indent) override;
26   void dump(const PDBSymbolCompilandEnv &Symbol, raw_ostream &OS,
27             int Indent) override;
28   void dump(const PDBSymbolData &Symbol, raw_ostream &OS, int Indent) override;
29   void dump(const PDBSymbolFunc &Symbol, raw_ostream &OS, int Indent) override;
30   void dump(const PDBSymbolLabel &Symbol, raw_ostream &OS, int Indent) override;
31   void dump(const PDBSymbolThunk &Symbol, raw_ostream &OS, int Indent) override;
32   void dump(const PDBSymbolTypeTypedef &Symbol, raw_ostream &OS,
33             int Indent) override;
34   void dump(const PDBSymbolUnknown &Symbol, raw_ostream &OS,
35             int Indent) override;
36 };
37 }
38
39 #endif