ΒΆLLVMMetadataRef LLVMDIBuilderCreateSubroutineType(
    LLVMDIBuilderRef Builder,
    LLVMMetadataRef File,
    LLVMMetadataRef* ParameterTypes,
    unsigned int NumParameterTypes,
    LLVMDIFlags Flags)

Description

Create subroutine type.

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

Parameters

LLVMDIBuilderRef Builder
The DIBuilder.
LLVMMetadataRef File
The file in which the subroutine resides.
LLVMMetadataRef* ParameterTypes
An array of subroutine parameter types. This includes return type at 0th index.
unsigned int NumParameterTypes
The number of parameter types in \c ParameterTypes
LLVMDIFlags Flags
E.g.: \c LLVMDIFlagLValueReference. These flags are used to emit dwarf attributes.