[ARM] Prevent generating NEON stack accesses under MVE.
[llvm-complete.git] / tools / llvm-pdbutil / PrettyFunctionDumper.h
blobdf62604ac8815e8f3cb1367152370e6f013585dd
1 //===- PrettyFunctionDumper.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_PRETTYFUNCTIONDUMPER_H
10 #define LLVM_TOOLS_LLVMPDBDUMP_PRETTYFUNCTIONDUMPER_H
12 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
14 namespace llvm {
15 namespace pdb {
16 class LinePrinter;
18 class FunctionDumper : public PDBSymDumper {
19 public:
20 FunctionDumper(LinePrinter &P);
22 enum class PointerType { None, Pointer, Reference };
24 void start(const PDBSymbolTypeFunctionSig &Symbol, const char *Name,
25 PointerType Pointer);
26 void start(const PDBSymbolFunc &Symbol, PointerType Pointer);
28 void dump(const PDBSymbolTypeArray &Symbol) override;
29 void dump(const PDBSymbolTypeBuiltin &Symbol) override;
30 void dump(const PDBSymbolTypeEnum &Symbol) override;
31 void dump(const PDBSymbolTypeFunctionArg &Symbol) override;
32 void dump(const PDBSymbolTypePointer &Symbol) override;
33 void dump(const PDBSymbolTypeTypedef &Symbol) override;
34 void dump(const PDBSymbolTypeUDT &Symbol) override;
36 private:
37 LinePrinter &Printer;
42 #endif