Skip to main content

## LLVMRustDIGetOrCreateSubrange

# Function LLVMRustDIGetOrCreateSubrange

Source

    pub(crate) unsafe extern "C" fn LLVMRustDIGetOrCreateSubrange<'a>(
        Builder: &DIBuilder<'a>,
        CountNode: Option<&'a Metadata>,
        LB: &'a Metadata,
        UB: &'a Metadata,
        Stride: Option<&'a Metadata>,
    ) -> &'a Metadata

Expand description

We can’t use LLVM-C’s `LLVMDIBuilderGetOrCreateSubrange` because it doesn’t call the overload that takes a `Metadata` upper bound.