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, DbiModuleDescriptor MI); 22 PDB_SymType getSymTag() const override; 23 bool isEditAndContinueEnabled() const override; 24 uint32_t getLexicalParentId() const override; 25 std::string getLibraryName() const override; 26 std::string getName() const override; 27 28 private: 29 DbiModuleDescriptor Module; 30 }; 31 32 } // namespace pdb 33 } // namespace llvm 34 35 #endif 36