[yaml2obj/obj2yaml] - Add support for .stack_sizes sections.
[llvm-complete.git] / tools / llvm-pdbutil / PrettyBuiltinDumper.h
blob3bdef34c48f819861d20fe6159ab14ef3147950b
1 //===- PrettyBuiltinDumper.h ---------------------------------- *- C++ --*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TOOLS_LLVMPDBDUMP_PRETTYBUILTINDUMPER_H
10 #define LLVM_TOOLS_LLVMPDBDUMP_PRETTYBUILTINDUMPER_H
12 #include "llvm/ADT/StringRef.h"
13 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
15 namespace llvm {
16 namespace pdb {
18 class LinePrinter;
20 class BuiltinDumper : public PDBSymDumper {
21 public:
22 BuiltinDumper(LinePrinter &P);
24 void start(const PDBSymbolTypeBuiltin &Symbol);
26 private:
27 StringRef getTypeName(const PDBSymbolTypeBuiltin &Symbol);
29 LinePrinter &Printer;
34 #endif