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"
20 class ModuleDebugStreamRef
;
22 class YAMLOutputStyle
: public OutputStyle
{
24 YAMLOutputStyle(PDBFile
&File
);
26 Error
dump() override
;
29 Error
dumpStringTable();
30 Error
dumpFileHeaders();
31 Error
dumpStreamMetadata();
32 Error
dumpStreamDirectory();
33 Error
dumpPDBStream();
34 Error
dumpDbiStream();
35 Error
dumpTpiStream();
36 Error
dumpIpiStream();
42 llvm::yaml::Output Out
;
49 #endif // LLVM_TOOLS_LLVMPDBDUMP_YAMLOUTPUTSTYLE_H