Line data Source code
1 : //===- PDBSymbolData.h - PDB data (e.g. variable) accessors -----*- C++ -*-===//
2 : //
3 : // The LLVM Compiler Infrastructure
4 : //
5 : // This file is distributed under the University of Illinois Open Source
6 : // License. See LICENSE.TXT for details.
7 : //
8 : //===----------------------------------------------------------------------===//
9 :
10 : #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLDATA_H
11 : #define LLVM_DEBUGINFO_PDB_PDBSYMBOLDATA_H
12 :
13 : #include "IPDBLineNumber.h"
14 : #include "PDBSymbol.h"
15 : #include "PDBTypes.h"
16 :
17 : namespace llvm {
18 :
19 : class raw_ostream;
20 :
21 : namespace pdb {
22 :
23 : class PDBSymbolData : public PDBSymbol {
24 389 : DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Data)
25 : public:
26 : void dump(PDBSymDumper &Dumper) const override;
27 :
28 : FORWARD_SYMBOL_METHOD(getAccess)
29 : FORWARD_SYMBOL_METHOD(getAddressOffset)
30 : FORWARD_SYMBOL_METHOD(getAddressSection)
31 : FORWARD_SYMBOL_METHOD(getAddressTaken)
32 : FORWARD_SYMBOL_METHOD(getBitPosition)
33 : FORWARD_SYMBOL_ID_METHOD(getClassParent)
34 0 : FORWARD_SYMBOL_METHOD(isCompilerGenerated)
35 : FORWARD_SYMBOL_METHOD(isConstType)
36 88 : FORWARD_SYMBOL_METHOD(getDataKind)
37 : FORWARD_SYMBOL_METHOD(isAggregated)
38 : FORWARD_SYMBOL_METHOD(isSplitted)
39 0 : FORWARD_SYMBOL_METHOD(getLength)
40 : FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
41 0 : FORWARD_SYMBOL_METHOD(getLocationType)
42 88 : FORWARD_SYMBOL_METHOD(getName)
43 0 : FORWARD_SYMBOL_METHOD(getOffset)
44 : FORWARD_SYMBOL_METHOD(getRegisterId)
45 : FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
46 : FORWARD_SYMBOL_METHOD(getSlot)
47 : FORWARD_SYMBOL_METHOD(getToken)
48 0 : FORWARD_SYMBOL_ID_METHOD(getType)
49 : FORWARD_SYMBOL_METHOD(isUnalignedType)
50 88 : FORWARD_SYMBOL_METHOD(getValue)
51 0 : FORWARD_SYMBOL_METHOD(getVirtualAddress)
52 : FORWARD_SYMBOL_METHOD(isVolatileType)
53 :
54 : std::unique_ptr<IPDBEnumLineNumbers> getLineNumbers() const;
55 : uint32_t getCompilandId() const;
56 : };
57 : } // namespace pdb
58 : } // namespace llvm
59 :
60 : #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLDATA_H
|