Subversion Repositories QNX 8.QNX8 LLVM/Clang compiler suite

Rev

Blame | Last modification | View Log | Download | RSS feed

  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.  
  12. #include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h"
  13. #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
  14.  
  15. namespace llvm {
  16. namespace pdb {
  17.  
  18. class NativeCompilandSymbol : public NativeRawSymbol {
  19. public:
  20.   NativeCompilandSymbol(NativeSession &Session, SymIndexId SymbolId,
  21.                         DbiModuleDescriptor MI);
  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:
  33.   DbiModuleDescriptor Module;
  34. };
  35.  
  36. } // namespace pdb
  37. } // namespace llvm
  38.  
  39. #endif
  40.