2017-01-11 01:35:43 +01:00
|
|
|
//===- PrettyExternalSymbolDumper.h --------------------------- *- C++ --*-===//
|
2015-05-01 22:24:26 +02:00
|
|
|
//
|
2019-01-19 09:50:56 +01:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2015-05-01 22:24:26 +02:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2017-01-11 01:35:43 +01:00
|
|
|
#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYEXTERNALSYMBOLDUMPER_H
|
|
|
|
#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYEXTERNALSYMBOLDUMPER_H
|
2015-05-01 22:24:26 +02:00
|
|
|
|
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymDumper.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
2016-05-04 22:32:13 +02:00
|
|
|
namespace pdb {
|
2015-05-01 22:24:26 +02:00
|
|
|
|
|
|
|
class LinePrinter;
|
|
|
|
|
|
|
|
class ExternalSymbolDumper : public PDBSymDumper {
|
|
|
|
public:
|
|
|
|
ExternalSymbolDumper(LinePrinter &P);
|
|
|
|
|
|
|
|
void start(const PDBSymbolExe &Symbol);
|
|
|
|
|
|
|
|
void dump(const PDBSymbolPublicSymbol &Symbol) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
LinePrinter &Printer;
|
|
|
|
};
|
|
|
|
}
|
2016-05-04 22:32:13 +02:00
|
|
|
}
|
2015-05-01 22:24:26 +02:00
|
|
|
|
|
|
|
#endif
|