[#llvm-MCInstrAnalysis-getMemoryOperandRelocationOffset] = xref:llvm.adoc[llvm]::xref:llvm/MCInstrAnalysis.adoc[MCInstrAnalysis]::getMemoryOperandRelocationOffset :relfileprefix: ../../ :mrdocs: Given an instruction with a memory operand that could require relocation, returns the offset within the instruction of that relocation. == Synopsis Declared in `<llvm/MC/MCInstrAnalysis.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::optional<uint64_t> getMemoryOperandRelocationOffset( xref:llvm/MCInst.adoc[MCInst] const& Inst, uint64_t Size) const; ---- == Return Value Byte offset of the relocation within `Inst,` or `std::nullopt.` == Parameters [cols="1,4"] |=== | Name| Description | *Inst* | ‐ Instruction containing the relocatable memory operand. | *Size* | ‐ Encoded size of `Inst` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#