ΒΆLLVMMetadataRef LLVMDIBuilderCreateStructType(
    LLVMDIBuilderRef Builder,
    LLVMMetadataRef Scope,
    const char* Name,
    size_t NameLen,
    LLVMMetadataRef File,
    unsigned int LineNumber,
    uint64_t SizeInBits,
    uint32_t AlignInBits,
    LLVMDIFlags Flags,
    LLVMMetadataRef DerivedFrom,
    LLVMMetadataRef* Elements,
    unsigned int NumElements,
    unsigned int RunTimeLang,
    LLVMMetadataRef VTableHolder,
    const char* UniqueId,
    size_t UniqueIdLen)

Description

Create debugging information entry for a struct.

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

Parameters

LLVMDIBuilderRef Builder
The DIBuilder.
LLVMMetadataRef Scope
Scope in which this struct is defined.
const char* Name
Struct name.
size_t NameLen
Struct name length.
LLVMMetadataRef File
File where this member is defined.
unsigned int LineNumber
Line number.
uint64_t SizeInBits
Member size.
uint32_t AlignInBits
Member alignment.
LLVMDIFlags Flags
Flags to encode member attribute, e.g. private
LLVMMetadataRef DerivedFrom
LLVMMetadataRef* Elements
Struct elements.
unsigned int NumElements
Number of struct elements.
unsigned int RunTimeLang
Optional parameter, Objective-C runtime version.
LLVMMetadataRef VTableHolder
The object containing the vtable for the struct.
const char* UniqueId
A unique identifier for the struct.
size_t UniqueIdLen
Length of the unique identifier for the struct.