CompilandDumper.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. #ifndef LLVM_TOOLS_LLVMPDBDUMP_COMPILANDDUMPER_H
  10. #define LLVM_TOOLS_LLVMPDBDUMP_COMPILANDDUMPER_H
  11. #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
  12. namespace llvm {
  13. class LinePrinter;
  14. class CompilandDumper : public PDBSymDumper {
  15. public:
  16. CompilandDumper(LinePrinter &P);
  17. void start(const PDBSymbolCompiland &Symbol, bool Children);
  18. void dump(const PDBSymbolCompilandDetails &Symbol) override;
  19. void dump(const PDBSymbolCompilandEnv &Symbol) override;
  20. void dump(const PDBSymbolData &Symbol) override;
  21. void dump(const PDBSymbolFunc &Symbol) override;
  22. void dump(const PDBSymbolLabel &Symbol) override;
  23. void dump(const PDBSymbolThunk &Symbol) override;
  24. void dump(const PDBSymbolTypeTypedef &Symbol) override;
  25. void dump(const PDBSymbolUnknown &Symbol) override;
  26. private:
  27. LinePrinter &Printer;
  28. };
  29. }
  30. #endif