Merging r259236:
[oota-llvm.git] / tools / llvm-pdbdump / ExternalSymbolDumper.h
1 //===- ExternalSymbolDumper.h --------------------------------- *- 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_EXTERNALSYMBOLDUMPER_H
11 #define LLVM_TOOLS_LLVMPDBDUMP_EXTERNALSYMBOLDUMPER_H
12
13 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
14
15 namespace llvm {
16
17 class LinePrinter;
18
19 class ExternalSymbolDumper : public PDBSymDumper {
20 public:
21   ExternalSymbolDumper(LinePrinter &P);
22
23   void start(const PDBSymbolExe &Symbol);
24
25   void dump(const PDBSymbolPublicSymbol &Symbol) override;
26
27 private:
28   LinePrinter &Printer;
29 };
30 }
31
32 #endif