1 //===- PrettyClassDefinitionDumper.h ----------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYCLASSDEFINITIONDUMPER_H
11 #define LLVM_TOOLS_LLVMPDBDUMP_PRETTYCLASSDEFINITIONDUMPER_H
13 #include "llvm/ADT/BitVector.h"
15 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
16 #include "llvm/DebugInfo/PDB/PDBSymbolData.h"
17 #include "llvm/DebugInfo/PDB/PDBSymbolFunc.h"
21 #include <unordered_map>
31 class ClassDefinitionDumper : public PDBSymDumper {
33 ClassDefinitionDumper(LinePrinter &P);
35 void start(const PDBSymbolTypeUDT &Class);
36 void start(const ClassLayout &Class);
39 void prettyPrintClassIntro(const ClassLayout &Class);
40 void prettyPrintClassOutro(const ClassLayout &Class);
43 bool DumpedAnything = false;