LLVM API Documentation
Create MCExprs from relocations found in an object file. More...
#include <MCRelocationInfo.h>
Public Member Functions | |
MCRelocationInfo (MCContext &Ctx) | |
virtual | ~MCRelocationInfo () |
virtual const MCExpr * | createExprForRelocation (object::RelocationRef Rel) |
Create an MCExpr for the relocation Rel . | |
virtual const MCExpr * | createExprForCAPIVariantKind (const MCExpr *SubExpr, unsigned VariantKind) |
Create an MCExpr for the target-specific VariantKind . The VariantKinds are defined in llvm-c/Disassembler.h. Used by MCExternalSymbolizer. | |
Protected Attributes | |
MCContext & | Ctx |
Create MCExprs from relocations found in an object file.
Definition at line 30 of file MCRelocationInfo.h.
MCRelocationInfo::MCRelocationInfo | ( | MCContext & | Ctx | ) |
Definition at line 17 of file MCRelocationInfo.cpp.
MCRelocationInfo::~MCRelocationInfo | ( | ) | [virtual] |
Definition at line 21 of file MCRelocationInfo.cpp.
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.
Definition at line 30 of file MCRelocationInfo.cpp.
References LLVMDisassembler_VariantKind_None.
const MCExpr * MCRelocationInfo::createExprForRelocation | ( | object::RelocationRef | Rel | ) | [virtual] |
Create an MCExpr for the relocation Rel
.
Definition at line 25 of file MCRelocationInfo.cpp.
MCContext& llvm::MCRelocationInfo::Ctx [protected] |
Definition at line 35 of file MCRelocationInfo.h.