ΒΆunsigned long long LLVMOffsetOfElement(
    LLVMTargetDataRef TD,
    LLVMTypeRef StructTy,
    unsigned int Element)

Description

Computes the byte offset of the indexed struct element for a target. See the method llvm::StructLayout::getElementContainingOffset.

Declared at: llvm/include/llvm-c/Target.h:283

Parameters

LLVMTargetDataRef TD
LLVMTypeRef StructTy
unsigned int Element