ΒΆLLVMMetadataRef
LLVMDIBuilderCreateImportedDeclaration(
    LLVMDIBuilderRef Builder,
    LLVMMetadataRef Scope,
    LLVMMetadataRef Decl,
    LLVMMetadataRef File,
    unsigned int Line,
    const char* Name,
    size_t NameLen,
    LLVMMetadataRef* Elements,
    unsigned int NumElements)

Description

Create a descriptor for an imported function, type, or variable. Suitable for e.g. FORTRAN-style USE declarations.

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

Parameters

LLVMDIBuilderRef Builder
The DIBuilder.
LLVMMetadataRef Scope
The scope this module is imported into.
LLVMMetadataRef Decl
The declaration (or definition) of a function, type, or variable.
LLVMMetadataRef File
File where the declaration is located.
unsigned int Line
Line number of the declaration.
const char* Name
A name that uniquely identifies this imported declaration.
size_t NameLen
The length of the C string passed to \c Name.
LLVMMetadataRef* Elements
Renamed elements.
unsigned int NumElements
Number of renamed elements.