Subversion Repositories QNX 8.QNX8 LLVM/Clang compiler suite

Rev

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

  1. //===- PDBSymbolCompilandDetails.h - PDB compiland details ------*- 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_PDBSYMBOLCOMPILANDDETAILS_H
  10. #define LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDDETAILS_H
  11.  
  12. #include "PDBSymbol.h"
  13. #include "PDBTypes.h"
  14.  
  15. namespace llvm {
  16.  
  17. namespace pdb {
  18.  
  19. class PDBSymbolCompilandDetails : public PDBSymbol {
  20.   DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::CompilandDetails)
  21. public:
  22.   void dump(PDBSymDumper &Dumper) const override;
  23.  
  24.   void getFrontEndVersion(VersionInfo &Version) const {
  25.     RawSymbol->getFrontEndVersion(Version);
  26.   }
  27.  
  28.   void getBackEndVersion(VersionInfo &Version) const {
  29.     RawSymbol->getBackEndVersion(Version);
  30.   }
  31.  
  32.   FORWARD_SYMBOL_METHOD(getCompilerName)
  33.   FORWARD_SYMBOL_METHOD(isEditAndContinueEnabled)
  34.   FORWARD_SYMBOL_METHOD(hasDebugInfo)
  35.   FORWARD_SYMBOL_METHOD(hasManagedCode)
  36.   FORWARD_SYMBOL_METHOD(hasSecurityChecks)
  37.   FORWARD_SYMBOL_METHOD(isCVTCIL)
  38.   FORWARD_SYMBOL_METHOD(isDataAligned)
  39.   FORWARD_SYMBOL_METHOD(isHotpatchable)
  40.   FORWARD_SYMBOL_METHOD(isLTCG)
  41.   FORWARD_SYMBOL_METHOD(isMSILNetmodule)
  42.   FORWARD_SYMBOL_METHOD(getLanguage)
  43.   FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
  44.   FORWARD_SYMBOL_METHOD(getPlatform)
  45.   FORWARD_SYMBOL_METHOD(getSourceFileName)
  46. };
  47.  
  48. } // namespace llvm
  49. }
  50.  
  51. #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDDETAILS_H
  52.