1 //===- YAMLOutputStyle.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_YAMLOUTPUTSTYLE_H
11 #define LLVM_TOOLS_LLVMPDBDUMP_YAMLOUTPUTSTYLE_H
13 #include "OutputStyle.h"
16 #include "llvm/DebugInfo/CodeView/CVTypeDumper.h"
17 #include "llvm/Support/ScopedPrinter.h"
18 #include "llvm/Support/YAMLTraits.h"
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();
41 llvm::yaml::Output Out;
48 #endif // LLVM_TOOLS_LLVMPDBDUMP_YAMLOUTPUTSTYLE_H