LLVM  8.0.0svn
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
llvm::MCWinCOFFObjectTargetWriter Class Referenceabstract

#include "llvm/MC/MCWinCOFFObjectWriter.h"

Inheritance diagram for llvm::MCWinCOFFObjectTargetWriter:
Inheritance graph
[legend]
Collaboration diagram for llvm::MCWinCOFFObjectTargetWriter:
Collaboration graph
[legend]

Public Member Functions

virtual ~MCWinCOFFObjectTargetWriter ()=default
 
virtual Triple::ObjectFormatType getFormat () const
 
unsigned getMachine () const
 
virtual unsigned getRelocType (MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsCrossSection, const MCAsmBackend &MAB) const =0
 
virtual bool recordRelocation (const MCFixup &) const
 
- Public Member Functions inherited from llvm::MCObjectTargetWriter
virtual ~MCObjectTargetWriter ()=default
 

Static Public Member Functions

static bool classof (const MCObjectTargetWriter *W)
 

Protected Member Functions

 MCWinCOFFObjectTargetWriter (unsigned Machine_)
 

Detailed Description

Definition at line 24 of file MCWinCOFFObjectWriter.h.

Constructor & Destructor Documentation

◆ MCWinCOFFObjectTargetWriter()

MCWinCOFFObjectTargetWriter::MCWinCOFFObjectTargetWriter ( unsigned  Machine_)
protected

Definition at line 1091 of file WinCOFFObjectWriter.cpp.

◆ ~MCWinCOFFObjectTargetWriter()

virtual llvm::MCWinCOFFObjectTargetWriter::~MCWinCOFFObjectTargetWriter ( )
virtualdefault

Member Function Documentation

◆ classof()

static bool llvm::MCWinCOFFObjectTargetWriter::classof ( const MCObjectTargetWriter W)
inlinestatic

◆ getFormat()

virtual Triple::ObjectFormatType llvm::MCWinCOFFObjectTargetWriter::getFormat ( ) const
inlinevirtual

Implements llvm::MCObjectTargetWriter.

Definition at line 35 of file MCWinCOFFObjectWriter.h.

References llvm::Triple::COFF.

◆ getMachine()

unsigned llvm::MCWinCOFFObjectTargetWriter::getMachine ( ) const
inline

Definition at line 40 of file MCWinCOFFObjectWriter.h.

References Fixup, and getRelocType().

◆ getRelocType()

virtual unsigned llvm::MCWinCOFFObjectTargetWriter::getRelocType ( MCContext Ctx,
const MCValue Target,
const MCFixup Fixup,
bool  IsCrossSection,
const MCAsmBackend MAB 
) const
pure virtual

Referenced by getMachine().

◆ recordRelocation()

virtual bool llvm::MCWinCOFFObjectTargetWriter::recordRelocation ( const MCFixup ) const
inlinevirtual

Definition at line 44 of file MCWinCOFFObjectWriter.h.

References llvm::createWinCOFFObjectWriter().


The documentation for this class was generated from the following files: