ΒΆLLVMMetadataRef LLVMDIBuilderCreateMacro(
    LLVMDIBuilderRef Builder,
    LLVMMetadataRef ParentMacroFile,
    unsigned int Line,
    LLVMDWARFMacinfoRecordType RecordType,
    const char* Name,
    size_t NameLen,
    const char* Value,
    size_t ValueLen)

Description

Create debugging information entry for a macro.

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

Parameters

LLVMDIBuilderRef Builder
The DIBuilder.
LLVMMetadataRef ParentMacroFile
Macro parent (could be NULL).
unsigned int Line
Source line number where the macro is defined.
LLVMDWARFMacinfoRecordType RecordType
DW_MACINFO_define or DW_MACINFO_undef.
const char* Name
Macro name.
size_t NameLen
Macro name length.
const char* Value
Macro value.
size_t ValueLen
Macro value length.