mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
78a946eabb
This is to reflect the evolving nature of the tool as being useful for more than just dumping PDBs, as it can do many other things. Differential Revision: https://reviews.llvm.org/D34062 llvm-svn: 305106
36 lines
828 B
C++
36 lines
828 B
C++
//===- PrettyBuiltinDumper.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_PRETTYBUILTINDUMPER_H
|
|
#define LLVM_TOOLS_LLVMPDBDUMP_PRETTYBUILTINDUMPER_H
|
|
|
|
#include "llvm/ADT/StringRef.h"
|
|
#include "llvm/DebugInfo/PDB/PDBSymDumper.h"
|
|
|
|
namespace llvm {
|
|
namespace pdb {
|
|
|
|
class LinePrinter;
|
|
|
|
class BuiltinDumper : public PDBSymDumper {
|
|
public:
|
|
BuiltinDumper(LinePrinter &P);
|
|
|
|
void start(const PDBSymbolTypeBuiltin &Symbol);
|
|
|
|
private:
|
|
StringRef getTypeName(const PDBSymbolTypeBuiltin &Symbol);
|
|
|
|
LinePrinter &Printer;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif
|