Table of Contents

Interface IOrcJit

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

Interface for an LLVM OrcV2 JIT

public interface IOrcJit : IDisposable
Inherited Members

Remarks

ORC JIT instances are created through a builder, which makes derived types impossible. Instead composition is used with this interface as the means of generalizing the distinction. Custom runtime JITs will implement this interface and generally forward calls to an internal LlJIT instance it created via a builder.

Properties

DataLayoutString

Gets the data layout string for this JIT

MainLib

Gets the main library for this JIT instance

Session

Gets the Execution session for this JIT

TransformLayer

Gets the IR transform layer for this JIT

TripleString

Gets a string representation of the target triple for this JIT

Methods

Add(JITDyLib, ThreadSafeModule)

Adds a module to the JIT

Add(ResourceTracker, ThreadSafeModule)

Adds a module to the JIT

AddWithTracking(ThreadSafeContext, Module, JITDyLib)

Adds a module to this JIT with removal tracking

Lookup(LazyEncodedString)

Looks up the native address of a symbol

MangleAndIntern(LazyEncodedString)

Mangles and interns a symbol in the JIT's symbol pool