2015-02-27 07:51:49 +08:00
|
|
|
//===- BuiltinDumper.h ---------------------------------------- *- C++ --*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_TOOLS_LLVMPDBDUMP_BUILTINDUMPER_H
|
|
|
|
#define LLVM_TOOLS_LLVMPDBDUMP_BUILTINDUMPER_H
|
|
|
|
|
2016-04-26 01:38:08 +08:00
|
|
|
#include "llvm/ADT/StringRef.h"
|
2015-02-27 07:51:49 +08:00
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymDumper.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
2016-05-05 04:32:13 +08:00
|
|
|
namespace pdb {
|
2015-02-27 07:51:49 +08:00
|
|
|
|
2015-02-27 17:15:59 +08:00
|
|
|
class LinePrinter;
|
|
|
|
|
2015-02-27 07:51:49 +08:00
|
|
|
class BuiltinDumper : public PDBSymDumper {
|
|
|
|
public:
|
2015-02-27 17:15:59 +08:00
|
|
|
BuiltinDumper(LinePrinter &P);
|
2015-02-27 07:51:49 +08:00
|
|
|
|
2015-03-01 14:51:29 +08:00
|
|
|
void start(const PDBSymbolTypeBuiltin &Symbol);
|
2015-02-27 17:15:59 +08:00
|
|
|
|
|
|
|
private:
|
2015-11-04 04:16:18 +08:00
|
|
|
StringRef getTypeName(const PDBSymbolTypeBuiltin &Symbol);
|
|
|
|
|
2015-02-27 17:15:59 +08:00
|
|
|
LinePrinter &Printer;
|
2015-02-27 07:51:49 +08:00
|
|
|
};
|
|
|
|
}
|
2016-05-05 04:32:13 +08:00
|
|
|
}
|
2015-02-27 07:51:49 +08:00
|
|
|
|
|
|
|
#endif
|