LLVM  13.0.0git
NativeCompilandSymbol.h
Go to the documentation of this file.
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 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVECOMPILANDSYMBOL_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVECOMPILANDSYMBOL_H
11 
14 
15 namespace llvm {
16 namespace pdb {
17 
19 public:
22 
23  void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
24  PdbSymbolIdField RecurseIdFields) const override;
25 
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;
31 
32 private:
34 };
35 
36 } // namespace pdb
37 } // namespace llvm
38 
39 #endif
MI
IRTranslator LLVM IR MI
Definition: IRTranslator.cpp:100
llvm
This class represents lattice values for constants.
Definition: AllocatorList.h:23
llvm::pdb::NativeCompilandSymbol
Definition: NativeCompilandSymbol.h:18
DbiModuleDescriptor.h
llvm::pdb::NativeCompilandSymbol::isEditAndContinueEnabled
bool isEditAndContinueEnabled() const override
Definition: NativeCompilandSymbol.cpp:40
llvm::pdb::PDB_SymType
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn....
Definition: PDBTypes.h:243
llvm::pdb::NativeCompilandSymbol::getLexicalParentId
SymIndexId getLexicalParentId() const override
Definition: NativeCompilandSymbol.cpp:44
llvm::pdb::NativeCompilandSymbol::NativeCompilandSymbol
NativeCompilandSymbol(NativeSession &Session, SymIndexId SymbolId, DbiModuleDescriptor MI)
Definition: NativeCompilandSymbol.cpp:17
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:50
llvm::Module
A Module instance is used to store all the information related to an LLVM module.
Definition: Module.h:67
uint32_t
llvm::pdb::NativeCompilandSymbol::getSymTag
PDB_SymType getSymTag() const override
Definition: NativeCompilandSymbol.cpp:22
NativeRawSymbol.h
llvm::pdb::NativeSession
Definition: NativeSession.h:28
llvm::pdb::PdbSymbolIdField
PdbSymbolIdField
Definition: IPDBRawSymbol.h:24
llvm::pdb::NativeCompilandSymbol::getName
std::string getName() const override
Definition: NativeCompilandSymbol.cpp:55
llvm::pdb::NativeRawSymbol::SymbolId
SymIndexId SymbolId
Definition: NativeRawSymbol.h:234
llvm::pdb::NativeCompilandSymbol::dump
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
Definition: NativeCompilandSymbol.cpp:26
llvm::pdb::NativeRawSymbol::Session
NativeSession & Session
Definition: NativeRawSymbol.h:232
llvm::pdb::NativeCompilandSymbol::getLibraryName
std::string getLibraryName() const override
Definition: NativeCompilandSymbol.cpp:51
llvm::pdb::DbiModuleDescriptor
Definition: DbiModuleDescriptor.h:23
llvm::pdb::NativeRawSymbol
Definition: NativeRawSymbol.h:21