LLVM 20.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
raw_pwrite_stream & OS
The instances of the Type class are immutable: once they are created, they are never changed.
Definition: Type.h:45
A 32-bit type reference.
Definition: TypeIndex.h:96
bool isConstructorVirtualBase() const override
SymIndexId getClassParentId() const override
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:52
CallingConvention
These values correspond to the CV_call_e enumeration, and are documented at the following locations: ...
Definition: CodeView.h:184
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
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18