PrettyBuiltinDumper.h 856 B

12345678910111213141516171819202122232425262728293031323334
  1. //===- PrettyBuiltinDumper.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_PRETTYBUILTINDUMPER_H
  9. #define LLVM_TOOLS_LLVMPDBDUMP_PRETTYBUILTINDUMPER_H
  10. #include "llvm/ADT/StringRef.h"
  11. #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
  12. namespace llvm {
  13. namespace pdb {
  14. class LinePrinter;
  15. class BuiltinDumper : public PDBSymDumper {
  16. public:
  17. BuiltinDumper(LinePrinter &P);
  18. void start(const PDBSymbolTypeBuiltin &Symbol);
  19. private:
  20. StringRef getTypeName(const PDBSymbolTypeBuiltin &Symbol);
  21. LinePrinter &Printer;
  22. };
  23. }
  24. }
  25. #endif