LLVM  10.0.0svn
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
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:50
This class represents lattice values for constants.
Definition: AllocatorList.h:23
static StringRef getName(Value *V)
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:19
static Error getOffset(const SymbolRef &Sym, SectionRef Sec, uint64_t &Result)
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
static wasm::ValType getType(const TargetRegisterClass *RC)
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e...
Definition: PDBSymbol.h:73
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:38