Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
NativeTypeFunctionSig.h
Go to the documentation of this file.
1//===- NativeTypeFunctionSig.h - info about function signature ---*- 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_NATIVE_NATIVETYPEFUNCTIONSIG_H
10#define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEFUNCTIONSIG_H
11
17
18namespace llvm {
19namespace pdb {
20
22protected:
23 void initialize() override;
24
25public:
28
32
34
35 void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
36 PdbSymbolIdField RecurseIdFields) const override;
37
38 std::unique_ptr<IPDBEnumSymbols>
39 findChildren(PDB_SymType Type) const override;
40
41 SymIndexId getClassParentId() const override;
43 uint32_t getCount() const override;
44 SymIndexId getTypeId() const override;
45 int32_t getThisAdjust() const override;
46 bool hasConstructor() const override;
47 bool isConstType() const override;
48 bool isConstructorVirtualBase() const override;
49 bool isCxxReturnUdt() const override;
50 bool isUnalignedType() const override;
51 bool isVolatileType() const override;
52
53private:
54 void initializeArgList(codeview::TypeIndex ArgListTI);
55
56 union {
59 };
60
61 SymIndexId ClassParentId = 0;
64 bool IsMemberFunction = false;
65};
66
67} // namespace pdb
68} // namespace llvm
69
70#endif // LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEFUNCTIONSIG_H
A 32-bit type reference.
Definition TypeIndex.h:97
NativeRawSymbol(NativeSession &PDBSession, PDB_SymType Tag, SymIndexId SymbolId)
SymIndexId getClassParentId() const override
NativeTypeFunctionSig(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI, codeview::ProcedureRecord Proc)
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
SymIndexId getTypeId() const override
PDB_CallingConv getCallingConvention() const override
std::unique_ptr< IPDBEnumSymbols > findChildren(PDB_SymType Type) const override
codeview::MemberFunctionRecord MemberFunc
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:53
uint32_t SymIndexId
Definition PDBTypes.h:26
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn....
Definition PDBTypes.h:243
codeview::CallingConvention PDB_CallingConv
These values correspond to the CV_call_e enumeration, and are documented at the following locations: ...
Definition PDBTypes.h:220
This is an optimization pass for GlobalISel generic memory operations.