blob: ac666dbd059b7fcb36c585824be05d783c5e5810 [file] [log] [blame]
Zachary Turneraa57c0a2015-02-26 23:51:49 +00001//===- 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/DebugInfo/PDB/PDBSymDumper.h"
14
15namespace llvm {
16
Zachary Turner2d11c202015-02-27 09:15:59 +000017class LinePrinter;
18
Zachary Turneraa57c0a2015-02-26 23:51:49 +000019class BuiltinDumper : public PDBSymDumper {
20public:
Zachary Turner2d11c202015-02-27 09:15:59 +000021 BuiltinDumper(LinePrinter &P);
Zachary Turneraa57c0a2015-02-26 23:51:49 +000022
Zachary Turnerb52d08d2015-03-01 06:51:29 +000023 void start(const PDBSymbolTypeBuiltin &Symbol);
Zachary Turner2d11c202015-02-27 09:15:59 +000024
25private:
Rui Ueyamaf4acad32015-11-03 20:16:18 +000026 StringRef getTypeName(const PDBSymbolTypeBuiltin &Symbol);
27
Zachary Turner2d11c202015-02-27 09:15:59 +000028 LinePrinter &Printer;
Zachary Turneraa57c0a2015-02-26 23:51:49 +000029};
30}
31
32#endif