TypeDumper.h 849 B

12345678910111213141516171819202122232425262728293031323334
  1. //===- TypeDumper.h - PDBSymDumper implementation for types *- 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_TYPEDUMPER_H
  10. #define LLVM_TOOLS_LLVMPDBDUMP_TYPEDUMPER_H
  11. #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
  12. namespace llvm {
  13. class LinePrinter;
  14. class TypeDumper : public PDBSymDumper {
  15. public:
  16. TypeDumper(LinePrinter &P);
  17. void start(const PDBSymbolExe &Exe);
  18. void dump(const PDBSymbolTypeEnum &Symbol) override;
  19. void dump(const PDBSymbolTypeTypedef &Symbol) override;
  20. void dump(const PDBSymbolTypeUDT &Symbol) override;
  21. private:
  22. LinePrinter &Printer;
  23. };
  24. }
  25. #endif