LLVM  5.0.0
Public Member Functions | Protected Attributes | List of all members
llvm::MCRelocationInfo Class Reference

Create MCExprs from relocations found in an object file. More...

#include "llvm/MC/MCDisassembler/MCRelocationInfo.h"

Collaboration diagram for llvm::MCRelocationInfo:
[legend]

Public Member Functions

 MCRelocationInfo (MCContext &Ctx)
 
 MCRelocationInfo (const MCRelocationInfo &)=delete
 
MCRelocationInfo & operator= (const MCRelocationInfo &)=delete
 
virtual ~MCRelocationInfo ()
 
virtual const MCExpr * createExprForCAPIVariantKind (const MCExpr *SubExpr, unsigned VariantKind)
 Create an MCExpr for the target-specific VariantKind. More...
 

Protected Attributes

MCContext & Ctx
 

Detailed Description

Create MCExprs from relocations found in an object file.

Definition at line 25 of file MCRelocationInfo.h.

Constructor & Destructor Documentation

MCRelocationInfo::MCRelocationInfo ( MCContext &  Ctx)

Definition at line 16 of file MCRelocationInfo.cpp.

llvm::MCRelocationInfo::MCRelocationInfo ( const MCRelocationInfo &  )
delete
MCRelocationInfo::~MCRelocationInfo ( )
virtualdefault

Member Function Documentation

const MCExpr * MCRelocationInfo::createExprForCAPIVariantKind ( const MCExpr *  SubExpr,
unsigned  VariantKind 
)
virtual

Create an MCExpr for the target-specific VariantKind.

The VariantKinds are defined in llvm-c/Disassembler.h. Used by MCExternalSymbolizer.

Returns
If possible, an MCExpr corresponding to VariantKind, else 0.

Definition at line 21 of file MCRelocationInfo.cpp.

References LLVMDisassembler_VariantKind_None.

MCRelocationInfo& llvm::MCRelocationInfo::operator= ( const MCRelocationInfo &  )
delete

Member Data Documentation

MCContext& llvm::MCRelocationInfo::Ctx
protected

Definition at line 27 of file MCRelocationInfo.h.


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