LCOV - code coverage report
Current view: top level - include/llvm/DebugInfo/PDB - PDBSymbolFunc.h (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 2 18 11.1 %
Date: 2018-06-17 00:07:59 Functions: 1 4 25.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===- PDBSymbolFunc.h - class representing a function instance -*- 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_PDBSYMBOLFUNC_H
      11             : #define LLVM_DEBUGINFO_PDB_PDBSYMBOLFUNC_H
      12             : 
      13             : #include "IPDBLineNumber.h"
      14             : #include "PDBSymbol.h"
      15             : #include "PDBSymbolTypeFunctionSig.h"
      16             : #include "PDBTypes.h"
      17             : 
      18             : namespace llvm {
      19             : 
      20             : class raw_ostream;
      21             : 
      22             : namespace pdb {
      23             : 
      24           1 : class PDBSymbolFunc : public PDBSymbol {
      25             : public:
      26             :   PDBSymbolFunc(const IPDBSession &PDBSession,
      27             :                 std::unique_ptr<IPDBRawSymbol> FuncSymbol);
      28             : 
      29             :   void dump(PDBSymDumper &Dumper) const override;
      30             : 
      31             :   bool isDestructor() const;
      32             : 
      33             :   std::unique_ptr<IPDBEnumChildren<PDBSymbolData>> getArguments() const;
      34             : 
      35          32 :   DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Function)
      36             : 
      37             :   FORWARD_SYMBOL_METHOD(getAccess)
      38             :   FORWARD_SYMBOL_METHOD(getAddressOffset)
      39             :   FORWARD_SYMBOL_METHOD(getAddressSection)
      40           0 :   FORWARD_SYMBOL_ID_METHOD(getClassParent)
      41           0 :   FORWARD_SYMBOL_METHOD(isCompilerGenerated)
      42             :   FORWARD_SYMBOL_METHOD(isConstructorVirtualBase)
      43           0 :   FORWARD_SYMBOL_METHOD(isConstType)
      44             :   FORWARD_SYMBOL_METHOD(isCxxReturnUdt)
      45             :   FORWARD_SYMBOL_METHOD(hasCustomCallingConvention)
      46             :   FORWARD_SYMBOL_METHOD(hasFarReturn)
      47             :   FORWARD_SYMBOL_METHOD(hasAlloca)
      48             :   FORWARD_SYMBOL_METHOD(hasEH)
      49             :   FORWARD_SYMBOL_METHOD(hasEHa)
      50             :   FORWARD_SYMBOL_METHOD(hasInlAsm)
      51             :   FORWARD_SYMBOL_METHOD(hasLongJump)
      52             :   FORWARD_SYMBOL_METHOD(hasSEH)
      53             :   FORWARD_SYMBOL_METHOD(hasSecurityChecks)
      54             :   FORWARD_SYMBOL_METHOD(hasSetJump)
      55             :   FORWARD_SYMBOL_METHOD(hasInterruptReturn)
      56           0 :   FORWARD_SYMBOL_METHOD(isIntroVirtualFunction)
      57           0 :   FORWARD_SYMBOL_METHOD(hasInlineAttribute)
      58             :   FORWARD_SYMBOL_METHOD(isNaked)
      59             :   FORWARD_SYMBOL_METHOD(isStatic)
      60           0 :   FORWARD_SYMBOL_METHOD(getLength)
      61             :   FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
      62           0 :   FORWARD_SYMBOL_METHOD(getLocalBasePointerRegisterId)
      63             :   FORWARD_SYMBOL_METHOD(getLocationType)
      64           0 :   FORWARD_SYMBOL_METHOD(getName)
      65           0 :   FORWARD_SYMBOL_METHOD(hasFramePointer)
      66           0 :   FORWARD_SYMBOL_METHOD(hasNoInlineAttribute)
      67             :   FORWARD_SYMBOL_METHOD(hasNoReturnAttribute)
      68             :   FORWARD_SYMBOL_METHOD(isUnreached)
      69             :   FORWARD_SYMBOL_METHOD(getNoStackOrdering)
      70             :   FORWARD_SYMBOL_METHOD(hasOptimizedCodeDebugInfo)
      71           0 :   FORWARD_SYMBOL_METHOD(isPureVirtual)
      72             :   FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
      73             :   FORWARD_SYMBOL_METHOD(getToken)
      74           0 :   FORWARD_CONCRETE_SYMBOL_ID_METHOD_WITH_NAME(PDBSymbolTypeFunctionSig, getType,
      75             :                                               getSignature)
      76             :   FORWARD_SYMBOL_METHOD(isUnalignedType)
      77           0 :   FORWARD_SYMBOL_METHOD(getUndecoratedName)
      78           0 :   FORWARD_SYMBOL_METHOD(isVirtual)
      79           0 :   FORWARD_SYMBOL_METHOD(getVirtualAddress)
      80             :   FORWARD_SYMBOL_METHOD(getVirtualBaseOffset)
      81           0 :   FORWARD_SYMBOL_METHOD(isVolatileType)
      82             : 
      83             :   std::unique_ptr<IPDBEnumLineNumbers> getLineNumbers() const;
      84             :   uint32_t getCompilandId() const;
      85             : };
      86             : 
      87             : } // namespace llvm
      88             : }
      89             : 
      90             : #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLFUNC_H

Generated by: LCOV version 1.13