1 //===- PDBSymbolBlock.h - Accessors for querying PDB blocks -------------*-===//
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
7 //===----------------------------------------------------------------------===//
8 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLBLOCK_H
9 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLBLOCK_H
11 #include "PDBSymbol.h"
20 class PDBSymbolBlock
: public PDBSymbol
{
21 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Block
)
23 void dump(PDBSymDumper
&Dumper
) const override
;
25 FORWARD_SYMBOL_METHOD(getAddressOffset
)
26 FORWARD_SYMBOL_METHOD(getAddressSection
)
27 FORWARD_SYMBOL_METHOD(getLength
)
28 FORWARD_SYMBOL_ID_METHOD(getLexicalParent
)
29 FORWARD_SYMBOL_METHOD(getLocationType
)
30 FORWARD_SYMBOL_METHOD(getName
)
31 FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress
)
32 FORWARD_SYMBOL_METHOD(getVirtualAddress
)
37 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLBLOCK_H