dotnet / dotnet/runtime

Span-ify `Relocation.WriteValue`

Open
#124,769 0 comments 0 reactions 0 assignees View on GitHub
area-ReadyToRun
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

`Relocation.WriteValue` currently uses raw pointers to write into a byte stream to resolve relocations to a target value. We should see if we can instead use a span and appropriate helpers/indexing to avoid the need for a raw pointer which currently needs to be pinned by callers.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.