1 //===- BuiltinDumper.h ---------------------------------------- *- 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 10 #ifndef LLVM_TOOLS_LLVMPDBDUMP_BUILTINDUMPER_H 11 #define LLVM_TOOLS_LLVMPDBDUMP_BUILTINDUMPER_H 12 13 #include "llvm/ADT/StringRef.h" 14 #include "llvm/DebugInfo/PDB/PDBSymDumper.h" 15 16 namespace llvm { 17 namespace pdb { 18 19 class LinePrinter; 20 21 class BuiltinDumper : public PDBSymDumper { 22 public: 23 BuiltinDumper(LinePrinter &P); 24 25 void start(const PDBSymbolTypeBuiltin &Symbol); 26 27 private: 28 StringRef getTypeName(const PDBSymbolTypeBuiltin &Symbol); 29 30 LinePrinter &Printer; 31 }; 32 } 33 } 34 35 #endif 36