ΒΆLLVMMetadataRef LLVMDIBuilderCreateInheritance(
    LLVMDIBuilderRef Builder,
    LLVMMetadataRef Ty,
    LLVMMetadataRef BaseTy,
    uint64_t BaseOffset,
    uint32_t VBPtrOffset,
    LLVMDIFlags Flags)

Description

Create debugging information entry to establish inheritance relationship between two types.

Declared at: llvm/include/llvm-c/DebugInfo.h:890

Parameters

LLVMDIBuilderRef Builder
The DIBuilder.
LLVMMetadataRef Ty
Original type.
LLVMMetadataRef BaseTy
Base type. Ty is inherits from base.
uint64_t BaseOffset
Base offset.
uint32_t VBPtrOffset
Virtual base pointer offset.
LLVMDIFlags Flags
Flags to describe inheritance attribute, e.g. private