Table of Contents

Method Add

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

Add(JITDyLib, MemoryBuffer)

Adds an object file to the specified library

public void Add(JITDyLib jitDyLib, MemoryBuffer objBuffer)

Parameters

jitDyLib JITDyLib

Library to add the object file to

objBuffer MemoryBuffer

Buffer for the object file

Remarks

The objBuffer is transferred to the native implementation of the library and is no longer usable after this (Dispose is still a NOP, but any other operation results in an ObjectDisposedException)

Add(ResourceTracker, MemoryBuffer)

Adds an object file to the specified ResourceTracker

public void Add(ResourceTracker rt, MemoryBuffer objBuffer)

Parameters

rt ResourceTracker

Tracker to add the object file to

objBuffer MemoryBuffer

Buffer for the object file

Remarks

The objBuffer is transferred to the native implementation of the library and is no longer usable after this (Dispose is still a NOP, but any other operation results in an ObjectDisposedException)