Table of Contents

Constructor SymbolStringPoolEntry

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

SymbolStringPoolEntry(SymbolStringPoolEntry)

Initializes a new instance of the SymbolStringPoolEntry class from another entry (Add ref construction)

public SymbolStringPoolEntry(SymbolStringPoolEntry other)

Parameters

other SymbolStringPoolEntry

Other string to make a new entry from

Remarks

In LLVM a SymbolStringPoolEntry is a pointer to a reference counted string. This constructor will create a new entry that "owns" a ref count bump (AddRefHandle) on a source string (other). Callers must dispose of the new instance the same as the original one or the ref count is never reduced and the native memory never reclaimed (That is, it leaks!)