LLVM 22.0.0git
PDBSymbolTypeFunctionSig.h
Go to the documentation of this file.
1//===- PDBSymbolTypeFunctionSig.h - function signature type info *- 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//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONSIG_H
10#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONSIG_H
11
12#include "PDBSymbol.h"
13#include "PDBTypes.h"
15
16namespace llvm {
17
18class raw_ostream;
19namespace pdb {
20
23public:
24 std::unique_ptr<IPDBEnumSymbols> getArguments() const;
25
26 void dump(PDBSymDumper &Dumper) const override;
27 void dumpRight(PDBSymDumper &Dumper) const override;
28 void dumpArgList(raw_ostream &OS) const;
29
30 bool isCVarArgs() const;
31
32 FORWARD_SYMBOL_METHOD(getCallingConvention)
33 FORWARD_SYMBOL_ID_METHOD(getClassParent)
34 FORWARD_SYMBOL_ID_METHOD(getUnmodifiedType)
35 FORWARD_SYMBOL_METHOD(isConstType)
36 FORWARD_SYMBOL_METHOD(getCount)
37 FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
38 // FORWARD_SYMBOL_METHOD(getObjectPointerType)
39 FORWARD_SYMBOL_METHOD(getThisAdjust)
41 FORWARD_SYMBOL_METHOD(isUnalignedType)
42 FORWARD_SYMBOL_METHOD(isVolatileType)
43};
44
45} // namespace pdb
46} // namespace llvm
47
48#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONSIG_H
#define LLVM_ABI
Definition Compiler.h:213
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition PDBSymbol.h:49
#define FORWARD_SYMBOL_ID_METHOD_WITH_NAME(PrivateName, PublicName)
Definition PDBSymbol.h:31
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition PDBSymbol.h:35
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition PDBSymbol.h:18
static SymbolRef::Type getType(const Symbol *Sym)
Definition TapiFile.cpp:39
void dumpArgList(raw_ostream &OS) const
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
std::unique_ptr< IPDBEnumSymbols > getArguments() const
void dumpRight(PDBSymDumper &Dumper) const override
For certain PDBSymbolTypes, dumps additional information for the type that normally goes on the right...
PDBSymbol(const IPDBSession &PDBSession)
Definition PDBSymbol.cpp:52
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:53
This is an optimization pass for GlobalISel generic memory operations.