1 //===- VariableDumper.h - PDBSymDumper implementation for types -*- 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_VARIABLEDUMPER_H
11 #define LLVM_TOOLS_LLVMPDBDUMP_VARIABLEDUMPER_H
13 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
14 #include "llvm/ADT/StringRef.h"
18 class VariableDumper : public PDBSymDumper {
22 void start(const PDBSymbolData &Var, raw_ostream &OS, int Indent);
24 void dump(const PDBSymbolTypeBuiltin &Symbol, raw_ostream &OS,
26 void dump(const PDBSymbolTypeEnum &Symbol, raw_ostream &OS,
28 void dump(const PDBSymbolTypeFunctionSig &Symbol, raw_ostream &OS,
30 void dump(const PDBSymbolTypePointer &Symbol, raw_ostream &OS,
32 void dump(const PDBSymbolTypeTypedef &Symbol, raw_ostream &OS,
34 void dump(const PDBSymbolTypeUDT &Symbol, raw_ostream &OS,
38 void dumpSymbolTypeAndName(const PDBSymbol &Type, StringRef Name,