[Alignment][NFC] Convert StoreInst to MaybeAlign
[llvm-complete.git] / include / llvm / DebugInfo / PDB / PDBSymbolPublicSymbol.h
blobe2b2545d78ec1a0a50e0fb5c601981326a8f385e
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLPUBLICSYMBOL_H
10 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLPUBLICSYMBOL_H
12 #include "PDBSymbol.h"
13 #include "PDBTypes.h"
15 namespace llvm {
17 class raw_ostream;
18 namespace pdb {
20 class PDBSymbolPublicSymbol : public PDBSymbol {
21 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::PublicSymbol)
22 public:
23 void dump(PDBSymDumper &Dumper) const override;
25 FORWARD_SYMBOL_METHOD(getAddressOffset)
26 FORWARD_SYMBOL_METHOD(getAddressSection)
27 FORWARD_SYMBOL_METHOD(isCode)
28 FORWARD_SYMBOL_METHOD(isFunction)
29 FORWARD_SYMBOL_METHOD(getLength)
30 FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
31 FORWARD_SYMBOL_METHOD(getLocationType)
32 FORWARD_SYMBOL_METHOD(isManagedCode)
33 FORWARD_SYMBOL_METHOD(isMSILCode)
34 FORWARD_SYMBOL_METHOD(getName)
35 FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
36 FORWARD_SYMBOL_METHOD(getVirtualAddress)
37 FORWARD_SYMBOL_METHOD(getUndecoratedName)
40 } // namespace llvm
43 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLPUBLICSYMBOL_H