LLVM 17.0.0git
PDBSymbolTypeBaseClass.h
Go to the documentation of this file.
1//===- PDBSymbolTypeBaseClass.h - base class type information ---*- 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_PDBSYMBOLTYPEBASECLASS_H
10#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEBASECLASS_H
11
12#include "PDBSymbol.h"
13#include "PDBTypes.h"
14
16
17namespace llvm {
18
19namespace pdb {
20
21class PDBSymDumper;
22
25public:
26 void dump(PDBSymDumper &Dumper) const override;
27
28 FORWARD_SYMBOL_METHOD(getAccess)
29 FORWARD_SYMBOL_ID_METHOD(getClassParent)
30 FORWARD_SYMBOL_METHOD(hasConstructor)
31 FORWARD_SYMBOL_METHOD(isConstType)
32 FORWARD_SYMBOL_METHOD(hasAssignmentOperator)
33 FORWARD_SYMBOL_METHOD(hasCastOperator)
34 FORWARD_SYMBOL_METHOD(hasNestedTypes)
35 FORWARD_SYMBOL_METHOD(isIndirectVirtualBaseClass)
36 FORWARD_SYMBOL_METHOD(getLength)
37 FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
39 FORWARD_SYMBOL_METHOD(isNested)
41 FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
42 FORWARD_SYMBOL_METHOD(isPacked)
43 FORWARD_SYMBOL_METHOD(isScoped)
45 FORWARD_SYMBOL_METHOD(getUdtKind)
46 FORWARD_SYMBOL_METHOD(isUnalignedType)
47
48 FORWARD_SYMBOL_METHOD(isVirtualBaseClass)
49 FORWARD_SYMBOL_METHOD(getVirtualBaseDispIndex)
50 FORWARD_SYMBOL_METHOD(getVirtualBasePointerOffset)
51 // FORWARD_SYMBOL_METHOD(getVirtualBaseTableType)
52 FORWARD_SYMBOL_ID_METHOD(getVirtualTableShape)
53 FORWARD_SYMBOL_METHOD(isVolatileType)
54};
55
56} // namespace pdb
57} // namespace llvm
58
59#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEBASECLASS_H
static M68kRelType getType(unsigned Kind, MCSymbolRefExpr::VariantKind &Modifier, bool &IsPCRel)
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:48
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:34
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:17
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:71
std::string getName() const
Definition: PDBSymbol.cpp:183
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
static Error getOffset(const SymbolRef &Sym, SectionRef Sec, uint64_t &Result)