PrettyExternalSymbolDumper.h 842 B

123456789101112131415161718192021222324252627282930313233
  1. //===- PrettyExternalSymbolDumper.h --------------------------- *- C++ --*-===//
  2. //
  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
  6. //
  7. //===----------------------------------------------------------------------===//
  8. #ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYEXTERNALSYMBOLDUMPER_H
  9. #define LLVM_TOOLS_LLVMPDBDUMP_PRETTYEXTERNALSYMBOLDUMPER_H
  10. #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
  11. namespace llvm {
  12. namespace pdb {
  13. class LinePrinter;
  14. class ExternalSymbolDumper : public PDBSymDumper {
  15. public:
  16. ExternalSymbolDumper(LinePrinter &P);
  17. void start(const PDBSymbolExe &Symbol);
  18. void dump(const PDBSymbolPublicSymbol &Symbol) override;
  19. private:
  20. LinePrinter &Printer;
  21. };
  22. }
  23. }
  24. #endif