1 //===- PDBSymbolData.h - PDB data (e.g. variable) accessors -----*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLDATA_H
11 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLDATA_H
13 #include "IPDBLineNumber.h"
14 #include "PDBSymbol.h"
23 class PDBSymbolData : public PDBSymbol {
25 PDBSymbolData(const IPDBSession &PDBSession,
26 std::unique_ptr<IPDBRawSymbol> DataSymbol);
28 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Data)
30 void dump(PDBSymDumper &Dumper) const override;
32 FORWARD_SYMBOL_METHOD(getAccess)
33 FORWARD_SYMBOL_METHOD(getAddressOffset)
34 FORWARD_SYMBOL_METHOD(getAddressSection)
35 FORWARD_SYMBOL_METHOD(getAddressTaken)
36 FORWARD_SYMBOL_METHOD(getBitPosition)
37 FORWARD_SYMBOL_ID_METHOD(getClassParent)
38 FORWARD_SYMBOL_METHOD(isCompilerGenerated)
39 FORWARD_SYMBOL_METHOD(isConstType)
40 FORWARD_SYMBOL_METHOD(getDataKind)
41 FORWARD_SYMBOL_METHOD(isAggregated)
42 FORWARD_SYMBOL_METHOD(isSplitted)
43 FORWARD_SYMBOL_METHOD(getLength)
44 FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
45 FORWARD_SYMBOL_METHOD(getLocationType)
46 FORWARD_SYMBOL_METHOD(getName)
47 FORWARD_SYMBOL_METHOD(getOffset)
48 FORWARD_SYMBOL_METHOD(getRegisterId)
49 FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
50 FORWARD_SYMBOL_METHOD(getSlot)
51 FORWARD_SYMBOL_METHOD(getToken)
52 FORWARD_SYMBOL_ID_METHOD(getType)
53 FORWARD_SYMBOL_METHOD(isUnalignedType)
54 FORWARD_SYMBOL_METHOD(getValue)
55 FORWARD_SYMBOL_METHOD(getVirtualAddress)
56 FORWARD_SYMBOL_METHOD(isVolatileType)
58 std::unique_ptr<IPDBEnumLineNumbers> getLineNumbers() const;
59 uint32_t getCompilandId() const;
64 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLDATA_H