11 references to GetSize
ILCompiler.ReadyToRun (11)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (3)
890
uint relocLength = (uint)Relocation.
GetSize
(reloc.Type);
961
Span<byte> data = new byte[Relocation.
GetSize
(reloc.Type)];
969
stream.Write(new Span<byte>(data, Relocation.
GetSize
(reloc.Type)));
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmInstructions.cs (4)
338
return Relocation.
GetSize
(_relocType);
344
int relocSize = Relocation.
GetSize
(_relocType);
464
return base.EncodeSize() + Relocation.
GetSize
(RelocType.WASM_TYPE_INDEX_LEB) + (int)tableSize;
470
int relocSize = Relocation.
GetSize
(RelocType.WASM_TYPE_INDEX_LEB);
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmObjectWriter.cs (4)
846
int size = Relocation.
GetSize
(reloc.Type);
880
int relocLength = Relocation.
GetSize
(reloc.Type);
997
Span<byte> relocContents = buffer.AsSpan(0, Relocation.
GetSize
(reloc.Type));
1006
sectionStream.Write(new Span<byte>(pData, Relocation.
GetSize
(reloc.Type)));