mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-27 16:07:55 +02:00
- jit caches are no longer static. - JitUnwindWindows now supports multiple jit caches. - Jit caches should no longer cause crashes due to entry offset collisions. - cpu tests now run concurrently. Co-authored-by: LotP1 <68976644+LotP1@users.noreply.github.com>
33 lines
957 B
C#
33 lines
957 B
C#
using System;
|
|
|
|
namespace ARMeilleure.CodeGen.Linking
|
|
{
|
|
/// <summary>
|
|
/// Represents relocation information about a <see cref="CompiledFunction"/>.
|
|
/// </summary>
|
|
public readonly struct RelocInfo
|
|
{
|
|
/// <summary>
|
|
/// Gets an empty <see cref="RelocInfo"/>.
|
|
/// </summary>
|
|
public static RelocInfo Empty { get; } = new(null);
|
|
|
|
private readonly RelocEntry[] _entries;
|
|
|
|
/// <summary>
|
|
/// Gets the set of <see cref="RelocEntry"/>.
|
|
/// </summary>
|
|
public ReadOnlySpan<RelocEntry> Entries => _entries;
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="RelocInfo"/> struct with the specified set of
|
|
/// <see cref="RelocEntry"/>.
|
|
/// </summary>
|
|
/// <param name="entries">Set of <see cref="RelocInfo"/> to use</param>
|
|
public RelocInfo(RelocEntry[] entries)
|
|
{
|
|
_entries = entries;
|
|
}
|
|
}
|
|
}
|