Zachary Turner | a9054dd | 2017-01-11 00:35:43 +0000 | [diff] [blame] | 1 | //===- PrettyExternalSymbolDumper.h --------------------------- *- C++ --*-===// |
Zachary Turner | e5cb269 | 2015-05-01 20:24:26 +0000 | [diff] [blame] | 2 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
Zachary Turner | e5cb269 | 2015-05-01 20:24:26 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
Zachary Turner | a9054dd | 2017-01-11 00:35:43 +0000 | [diff] [blame] | 9 | #ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYEXTERNALSYMBOLDUMPER_H |
| 10 | #define LLVM_TOOLS_LLVMPDBDUMP_PRETTYEXTERNALSYMBOLDUMPER_H |
Zachary Turner | e5cb269 | 2015-05-01 20:24:26 +0000 | [diff] [blame] | 11 | |
| 12 | #include "llvm/DebugInfo/PDB/PDBSymDumper.h" |
| 13 | |
| 14 | namespace llvm { |
Zachary Turner | ec28fc3 | 2016-05-04 20:32:13 +0000 | [diff] [blame] | 15 | namespace pdb { |
Zachary Turner | e5cb269 | 2015-05-01 20:24:26 +0000 | [diff] [blame] | 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 | } |
Zachary Turner | ec28fc3 | 2016-05-04 20:32:13 +0000 | [diff] [blame] | 31 | } |
Zachary Turner | e5cb269 | 2015-05-01 20:24:26 +0000 | [diff] [blame] | 32 | |
| 33 | #endif |