LCOV - code coverage report
Current view: top level - lib/Target/ARM - ARMTargetObjectFile.h (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 2 2 100.0 %
Date: 2018-10-20 13:21:21 Functions: 0 0 -
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===-- llvm/Target/ARMTargetObjectFile.h - ARM Object Info -----*- 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_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
      11             : #define LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
      12             : 
      13             : #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
      14             : #include "llvm/MC/MCExpr.h"
      15             : 
      16             : namespace llvm {
      17             : 
      18             : class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF {
      19             : public:
      20             :   ARMElfTargetObjectFile()
      21        2377 :       : TargetLoweringObjectFileELF() {
      22        2377 :     PLTRelativeVariantKind = MCSymbolRefExpr::VK_ARM_PREL31;
      23             :   }
      24             : 
      25             :   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
      26             : 
      27             :   const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,
      28             :                                         unsigned Encoding,
      29             :                                         const TargetMachine &TM,
      30             :                                         MachineModuleInfo *MMI,
      31             :                                         MCStreamer &Streamer) const override;
      32             : 
      33             :   /// Describe a TLS variable address within debug info.
      34             :   const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
      35             : 
      36             :   MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
      37             :                                       const TargetMachine &TM) const override;
      38             : 
      39             :   MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
      40             :                                     const TargetMachine &TM) const override;
      41             : };
      42             : 
      43             : } // end namespace llvm
      44             : 
      45             : #endif // LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H

Generated by: LCOV version 1.13