LLVM 22.0.0git
PDBSymbolThunk.h
Go to the documentation of this file.
1//===- PDBSymbolThunk.h - Support for querying PDB thunks ---------------*-===//
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_PDBSYMBOLTHUNK_H
10#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTHUNK_H
11
12#include "PDBSymbol.h"
13#include "PDBTypes.h"
15
16namespace llvm {
17
18namespace pdb {
19
21 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Thunk)
22public:
23 void dump(PDBSymDumper &Dumper) const override;
24
25 FORWARD_SYMBOL_METHOD(getAccess)
26 FORWARD_SYMBOL_METHOD(getAddressOffset)
27 FORWARD_SYMBOL_METHOD(getAddressSection)
28 FORWARD_SYMBOL_ID_METHOD(getClassParent)
29 FORWARD_SYMBOL_METHOD(isConstType)
30 FORWARD_SYMBOL_METHOD(isIntroVirtualFunction)
31 FORWARD_SYMBOL_METHOD(isStatic)
32 FORWARD_SYMBOL_METHOD(getLength)
33 FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
35 FORWARD_SYMBOL_METHOD(isPureVirtual)
36 FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
37 FORWARD_SYMBOL_METHOD(getTargetOffset)
38 FORWARD_SYMBOL_METHOD(getTargetRelativeVirtualAddress)
39 FORWARD_SYMBOL_METHOD(getTargetVirtualAddress)
41 FORWARD_SYMBOL_METHOD(getThunkOrdinal)
43 FORWARD_SYMBOL_METHOD(isUnalignedType)
44 FORWARD_SYMBOL_METHOD(isVirtual)
45 FORWARD_SYMBOL_METHOD(getVirtualAddress)
46 FORWARD_SYMBOL_METHOD(getVirtualBaseOffset)
47 FORWARD_SYMBOL_METHOD(isVolatileType)
48};
49} // namespace pdb
50} // namespace llvm
51
52#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTHUNK_H
#define LLVM_ABI
Definition: Compiler.h:213
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:49
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:35
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:18
static StringRef getName(Value *V)
static SymbolRef::Type getType(const Symbol *Sym)
Definition: TapiFile.cpp:39
static const MCSection * getTargetSection(const MCExpr *Expr)
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:72
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
void dump(const SparseBitVector< ElementSize > &LHS, raw_ostream &out)