LLVM  14.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 
17 
18 namespace llvm {
19 
20 class raw_ostream;
21 namespace pdb {
22 
25 public:
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 llvm
57 }
58 
59 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEBASECLASS_H
llvm::pdb::PDBSymbol::getName
std::string getName() const
Definition: PDBSymbol.cpp:183
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::pdb::PDB_SymType::BaseClass
@ BaseClass
DECLARE_PDB_SYMBOL_CONCRETE_TYPE
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:47
llvm::getOffset
static Error getOffset(const SymbolRef &Sym, SectionRef Sec, uint64_t &Result)
Definition: RuntimeDyld.cpp:170
llvm::Intrinsic::getType
FunctionType * getType(LLVMContext &Context, ID id, ArrayRef< Type * > Tys=None)
Return the function type for an intrinsic.
Definition: Function.cpp:1335
PDBSymbolTypeVTable.h
PDBSymbolTypeVTableShape.h
llvm::pdb::PDBSymbolTypeBaseClass
Definition: PDBSymbolTypeBaseClass.h:23
llvm::pdb::PDBSymbol
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:70
PDBSymbol.h
PDBTypes.h
llvm::pdb::PDBSymbolTypeBaseClass::dump
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
Definition: PDBSymbolTypeBaseClass.cpp:19
llvm::pdb::PDBSymDumper
Definition: PDBSymDumper.h:19
FORWARD_SYMBOL_ID_METHOD
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:36
FORWARD_SYMBOL_METHOD
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:19