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

Generated by: LCOV version 1.13