Pass metadata pointers to RyuJIT (#79806)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Mon, 19 Dec 2022 14:44:31 +0000 (23:44 +0900)
committerGitHub <noreply@github.com>
Mon, 19 Dec 2022 14:44:31 +0000 (06:44 -0800)
commitd260da5b390ad59e9a4b5bfa9ba73073812cc5e2
treee8bae8570e7a073bc04e242aa14fd58a59165c62
parent6e69214ac2a2faca0493fc3038480793481caa71
Pass metadata pointers to RyuJIT (#79806)

RyuJIT started asking about names a lot more than it used to. Pass it UTF-8 pointers from metadata instead of UTF-16-converted, then UTF-8 converted, and pinned byte buffers.
src/coreclr/tools/Common/JitInterface/CorInfoImpl.cs
src/coreclr/tools/Common/TypeSystem/Ecma/MetadataExtensions.cs