Skip to main content

## LLVMRustDIBuilderCreateFile

# Function LLVMRustDIBuilderCreateFile

Source

    pub(crate) unsafe extern "C" fn LLVMRustDIBuilderCreateFile<'a>(
        Builder: &DIBuilder<'a>,
        Filename: *const c_char,
        FilenameLen: size_t,
        Directory: *const c_char,
        DirectoryLen: size_t,
        CSKind: ChecksumKind,
        Checksum: *const c_char,
        ChecksumLen: size_t,
        Source: *const c_char,
        SourceLen: size_t,
    ) -> &'a Metadata

Expand description

We can’t use LLVM-C’s `LLVMDIBuilderCreateFileWithChecksum` because it requires a checksum, but we sometimes don’t provide one.