[Alignment][NFC] Convert StoreInst to MaybeAlign
[llvm-complete.git] / include / llvm / DebugInfo / PDB / Native / NativeCompilandSymbol.h
blob50d437642d0f736ef4b2566e1f5dd4918cd65143
1 //===- NativeCompilandSymbol.h - native impl for compiland syms -*- 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_NATIVE_NATIVECOMPILANDSYMBOL_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVECOMPILANDSYMBOL_H
12 #include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h"
13 #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
15 namespace llvm {
16 namespace pdb {
18 class NativeCompilandSymbol : public NativeRawSymbol {
19 public:
20 NativeCompilandSymbol(NativeSession &Session, SymIndexId SymbolId,
21 DbiModuleDescriptor MI);
23 void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
24 PdbSymbolIdField RecurseIdFields) const override;
26 PDB_SymType getSymTag() const override;
27 bool isEditAndContinueEnabled() const override;
28 SymIndexId getLexicalParentId() const override;
29 std::string getLibraryName() const override;
30 std::string getName() const override;
32 private:
33 DbiModuleDescriptor Module;
36 } // namespace pdb
37 } // namespace llvm
39 #endif