Table of Contents

Method Define

Namespace
Ubiquity.NET.Llvm.OrcJITv2
Assembly
Ubiquity.NET.Llvm.dll

Define(MaterializationUnit)

Defines (Adds) the materialization unit to this library

public void Define(MaterializationUnit materializationUnit)

Parameters

materializationUnit MaterializationUnit

Unit to add

Remarks

On success, the materializationUnit is no longer valid. Ownership is transferred to the JIT. On failure, an exception is thrown but ownership remains with the caller. The invalidation leaves the Dispose() call as a NOP and any operations on the unit throw an ObjectDisposedException.