class MCRelocationInfo
Declaration
class MCRelocationInfo { /* full declaration omitted */ };
Description
Create MCExprs from relocations found in an object file.
Declared at: llvm/include/llvm/MC/MCDisassembler/MCRelocationInfo.h:24
Member Variables
- protected llvm::MCContext& Ctx
Method Overview
- public MCRelocationInfo(llvm::MCContext & Ctx)
- public MCRelocationInfo(const llvm::MCRelocationInfo &)
- public virtual const llvm::MCExpr * createExprForCAPIVariantKind(const llvm::MCExpr * SubExpr, unsigned int VariantKind)
- public virtual ~MCRelocationInfo()
Methods
¶MCRelocationInfo(llvm::MCContext& Ctx)
MCRelocationInfo(llvm::MCContext& Ctx)
Declared at: llvm/include/llvm/MC/MCDisassembler/MCRelocationInfo.h:29
Parameters
- llvm::MCContext& Ctx
¶MCRelocationInfo(const llvm::MCRelocationInfo&)
MCRelocationInfo(const llvm::MCRelocationInfo&)
Declared at: llvm/include/llvm/MC/MCDisassembler/MCRelocationInfo.h:30
Parameters
- const llvm::MCRelocationInfo&
¶virtual const llvm::MCExpr*
createExprForCAPIVariantKind(
const llvm::MCExpr* SubExpr,
unsigned int VariantKind)
virtual const llvm::MCExpr*
createExprForCAPIVariantKind(
const llvm::MCExpr* SubExpr,
unsigned int VariantKind)
Description
Create an MCExpr for the target-specific \p VariantKind. The VariantKinds are defined in llvm-c/Disassembler.h. Used by MCExternalSymbolizer.
Declared at: llvm/include/llvm/MC/MCDisassembler/MCRelocationInfo.h:38
Parameters
- const llvm::MCExpr* SubExpr
- unsigned int VariantKind
Returns
If possible, an MCExpr corresponding to VariantKind, else 0.
¶virtual ~MCRelocationInfo()
virtual ~MCRelocationInfo()
Declared at: llvm/include/llvm/MC/MCDisassembler/MCRelocationInfo.h:32