LLVM 22.0.0git
PDBSymbolTypeVTable.h
Go to the documentation of this file.
1//===- PDBSymbolTypeVTable.h - VTable type info -----------------*- 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_PDBSYMBOLTYPEVTABLE_H
10#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEVTABLE_H
11
12#include "PDBSymbol.h"
13#include "PDBTypes.h"
15
16namespace llvm {
17
18namespace pdb {
19
22public:
23 void dump(PDBSymDumper &Dumper) const override;
24
25 FORWARD_SYMBOL_ID_METHOD(getClassParent)
27 FORWARD_SYMBOL_METHOD(isConstType)
28 FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
30 FORWARD_SYMBOL_METHOD(isUnalignedType)
31 FORWARD_SYMBOL_METHOD(isVolatileType)
32};
33
34} // namespace pdb
35} // namespace llvm
36
37#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEVTABLE_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 SymbolRef::Type getType(const Symbol *Sym)
Definition TapiFile.cpp:39
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
PDBSymbol(const IPDBSession &PDBSession)
Definition PDBSymbol.cpp:52
This is an optimization pass for GlobalISel generic memory operations.
static Error getOffset(const SymbolRef &Sym, SectionRef Sec, uint64_t &Result)