Table of Contents

Method CreateMacro

Namespace
Ubiquity.NET.Llvm.DebugInfo
Assembly
Ubiquity.NET.Llvm.dll

CreateMacro(DIMacroFile?, uint, MacroKind, LazyEncodedString, LazyEncodedString)

Create a macro

public DIMacro CreateMacro(DIMacroFile? parentFile, uint line, MacroKind kind, LazyEncodedString name, LazyEncodedString value)

Parameters

parentFile DIMacroFile

Parent file containing the macro

line uint

Source line number where the macro is defined

kind MacroKind

Id of macro

name LazyEncodedString

Name of the macro

value LazyEncodedString

Value of the macro (use String.Empty for Undefine)

Returns

DIMacro

Newly created macro node