1 //===- YAMLOutputStyle.h -------------------------------------- *- C++ --*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TOOLS_LLVMPDBDUMP_YAMLOUTPUTSTYLE_H
10 #define LLVM_TOOLS_LLVMPDBDUMP_YAMLOUTPUTSTYLE_H
12 #include "OutputStyle.h"
15 #include "llvm/Support/ScopedPrinter.h"
16 #include "llvm/Support/YAMLTraits.h"
21 class YAMLOutputStyle
: public OutputStyle
{
23 YAMLOutputStyle(PDBFile
&File
);
25 Error
dump() override
;
28 Error
dumpStringTable();
29 Error
dumpFileHeaders();
30 Error
dumpStreamMetadata();
31 Error
dumpStreamDirectory();
32 Error
dumpPDBStream();
33 Error
dumpDbiStream();
34 Error
dumpTpiStream();
35 Error
dumpIpiStream();
41 llvm::yaml::Output Out
;
48 #endif // LLVM_TOOLS_LLVMPDBDUMP_YAMLOUTPUTSTYLE_H