1 //===- PDBSymbolPublicSymbol.h - public symbol 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_PDBSYMBOLPUBLICSYMBOL_H 10 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLPUBLICSYMBOL_H 11 12 #include "PDBSymbol.h" 13 #include "PDBTypes.h" 14 15 namespace llvm { 16 17 namespace pdb { 18 19 class PDBSymbolPublicSymbol : public PDBSymbol { 20 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::PublicSymbol) 21 public: 22 void dump(PDBSymDumper &Dumper) const override; 23 24 FORWARD_SYMBOL_METHOD(getAddressOffset) 25 FORWARD_SYMBOL_METHOD(getAddressSection) 26 FORWARD_SYMBOL_METHOD(isCode) 27 FORWARD_SYMBOL_METHOD(isFunction) 28 FORWARD_SYMBOL_METHOD(getLength) 29 FORWARD_SYMBOL_ID_METHOD(getLexicalParent) 30 FORWARD_SYMBOL_METHOD(getLocationType) 31 FORWARD_SYMBOL_METHOD(isManagedCode) 32 FORWARD_SYMBOL_METHOD(isMSILCode) 33 FORWARD_SYMBOL_METHOD(getName) 34 FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress) 35 FORWARD_SYMBOL_METHOD(getVirtualAddress) 36 FORWARD_SYMBOL_METHOD(getUndecoratedName) 37 }; 38 39 } // namespace pdb 40 } // namespace llvm 41 42 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLPUBLICSYMBOL_H 43