Table of Contents

Method GetOrCreateDyLib

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

GetOrCreateDyLib(LazyEncodedString)

Gets or creates a JITDyLib in this session by name

public JITDyLib GetOrCreateDyLib(LazyEncodedString name)

Parameters

name LazyEncodedString

name of the library

Returns

JITDyLib

The library from this session

Remarks

If the library is created, this will add symbols for any attached platforms. If there are no attached platforms then this is the same as calling GetOrCreateBareDyLib(LazyEncodedString).

name is a LazyEncodedString to allow for the possibility of retrieval of the name from native code and then providing it back again without going through any sort of marshal/unmarshal sequence. This allows for the most efficient use of data that is likely to come from the underlying native code.