2017-01-14 15:37:50 +00:00
|
|
|
//===- PrettyBuiltinDumper.h ---------------------------------- *- C++ --*-===//
|
2015-05-27 18:44:32 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2017-01-14 15:37:50 +00:00
|
|
|
#ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYBUILTINDUMPER_H
|
|
|
|
#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYBUILTINDUMPER_H
|
2015-05-27 18:44:32 +00:00
|
|
|
|
2016-07-23 20:41:05 +00:00
|
|
|
#include "llvm/ADT/StringRef.h"
|
2015-05-27 18:44:32 +00:00
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymDumper.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
2016-07-23 20:41:05 +00:00
|
|
|
namespace pdb {
|
2015-05-27 18:44:32 +00:00
|
|
|
|
|
|
|
class LinePrinter;
|
|
|
|
|
|
|
|
class BuiltinDumper : public PDBSymDumper {
|
|
|
|
public:
|
|
|
|
BuiltinDumper(LinePrinter &P);
|
|
|
|
|
|
|
|
void start(const PDBSymbolTypeBuiltin &Symbol);
|
|
|
|
|
|
|
|
private:
|
2015-12-30 11:46:15 +00:00
|
|
|
StringRef getTypeName(const PDBSymbolTypeBuiltin &Symbol);
|
|
|
|
|
2015-05-27 18:44:32 +00:00
|
|
|
LinePrinter &Printer;
|
|
|
|
};
|
|
|
|
}
|
2016-07-23 20:41:05 +00:00
|
|
|
}
|
2015-05-27 18:44:32 +00:00
|
|
|
|
|
|
|
#endif
|