[ARM] Prevent generating NEON stack accesses under MVE.
[llvm-complete.git] / tools / llvm-pdbutil / YAMLOutputStyle.h
blob7a50af1abe3f55fa23ae05240f2cf8ab13f5d9f6
1 //===- YAMLOutputStyle.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_YAMLOUTPUTSTYLE_H
10 #define LLVM_TOOLS_LLVMPDBDUMP_YAMLOUTPUTSTYLE_H
12 #include "OutputStyle.h"
13 #include "PdbYaml.h"
15 #include "llvm/Support/ScopedPrinter.h"
16 #include "llvm/Support/YAMLTraits.h"
18 namespace llvm {
19 namespace pdb {
20 class ModuleDebugStreamRef;
22 class YAMLOutputStyle : public OutputStyle {
23 public:
24 YAMLOutputStyle(PDBFile &File);
26 Error dump() override;
28 private:
29 Error dumpStringTable();
30 Error dumpFileHeaders();
31 Error dumpStreamMetadata();
32 Error dumpStreamDirectory();
33 Error dumpPDBStream();
34 Error dumpDbiStream();
35 Error dumpTpiStream();
36 Error dumpIpiStream();
37 Error dumpPublics();
39 void flush();
41 PDBFile &File;
42 llvm::yaml::Output Out;
44 yaml::PdbObject Obj;
46 } // namespace pdb
47 } // namespace llvm
49 #endif // LLVM_TOOLS_LLVMPDBDUMP_YAMLOUTPUTSTYLE_H