1 //===- NativeCompilandSymbol.h - native impl for compiland syms -*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVECOMPILANDSYMBOL_H 11 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVECOMPILANDSYMBOL_H 12 13 #include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h" 14 #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" 15 16 namespace llvm { 17 namespace pdb { 18 19 class NativeCompilandSymbol : public NativeRawSymbol { 20 public: 21 NativeCompilandSymbol(NativeSession &Session, SymIndexId SymbolId, 22 DbiModuleDescriptor MI); 23 24 void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, 25 PdbSymbolIdField RecurseIdFields) const override; 26 27 PDB_SymType getSymTag() const override; 28 bool isEditAndContinueEnabled() const override; 29 SymIndexId getLexicalParentId() const override; 30 std::string getLibraryName() const override; 31 std::string getName() const override; 32 33 private: 34 DbiModuleDescriptor Module; 35 }; 36 37 } // namespace pdb 38 } // namespace llvm 39 40 #endif 41