Table of Contents

Struct ExecutionSession

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

ORC JIT v2 Execution Session

public readonly ref struct ExecutionSession
Inherited Members

Remarks

This is a ref struct as the JIT is ultimately the owner of the underlying session. Thus, this instance does not retain any state not part of the underlying native support.

Properties

SymbolStringPool

Gets a reference to the symbol string pool for this session

Methods

CreateLazyCallThroughManager(LazyEncodedString, ulong)

Creates a Lazy Call Through manager for this session

GetOrCreateBareDyLib(LazyEncodedString)

Gets an existing JITDyLib or creates a new one

GetOrCreateDyLib(LazyEncodedString)

Gets or creates a JITDyLib in this session by name

Intern(string)

Interns a string in the pool

RemoveDyLib(LazyEncodedString)

Removes a JITDyLib from this session by name

TryGetDyLib(LazyEncodedString, out JITDyLib)

Tries to get a named library from this session

TryGetOrCreateDyLib(LazyEncodedString, out JITDyLib, out ErrorInfo)

Tries to get or create a JITDyLib in this session by name