blob: 7a2f1438669c3a251e8b699a38afb68706f02d08 [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
Zachary Turner0a43efe2016-04-25 17:38:08 +000013#include "llvm/ADT/StringRef.h"
Zachary Turneraa57c0a2015-02-26 23:51:49 +000014#include "llvm/DebugInfo/PDB/PDBSymDumper.h"
15
16namespace llvm {
Zachary Turnerec28fc32016-05-04 20:32:13 +000017namespace pdb {
Zachary Turneraa57c0a2015-02-26 23:51:49 +000018
Zachary Turner2d11c202015-02-27 09:15:59 +000019class LinePrinter;
20
Zachary Turneraa57c0a2015-02-26 23:51:49 +000021class BuiltinDumper : public PDBSymDumper {
22public:
Zachary Turner2d11c202015-02-27 09:15:59 +000023 BuiltinDumper(LinePrinter &P);
Zachary Turneraa57c0a2015-02-26 23:51:49 +000024
Zachary Turnerb52d08d2015-03-01 06:51:29 +000025 void start(const PDBSymbolTypeBuiltin &Symbol);
Zachary Turner2d11c202015-02-27 09:15:59 +000026
27private:
Rui Ueyamaf4acad32015-11-03 20:16:18 +000028 StringRef getTypeName(const PDBSymbolTypeBuiltin &Symbol);
29
Zachary Turner2d11c202015-02-27 09:15:59 +000030 LinePrinter &Printer;
Zachary Turneraa57c0a2015-02-26 23:51:49 +000031};
32}
Zachary Turnerec28fc32016-05-04 20:32:13 +000033}
Zachary Turneraa57c0a2015-02-26 23:51:49 +000034
35#endif