12 references to
ILCompiler.ReadyToRun (12)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmObjectWriter.cs (12)
277
WebcilSection section = _sections
[
sectionIndex] as WebcilSection;
685
WasmSection section = _sections
[
index];
794
Debug.Assert(_sections
[
sectionIndex] is WebcilSection);
828
Debug.Assert(_sections
[
pending.SectionIndex] is WebcilSection);
829
WebcilSection webcilSection = (WebcilSection)_sections
[
pending.SectionIndex];
1001
if (_sections
[
sectionIndex] is WebcilSection curSection)
1027
if (_sections
[
definedSymbol.SectionIndex] is WebcilSection targetSection)
1107
throw new InvalidDataException($"WASM_MEMORY_ADDR_REL_SLEB: symbol '{reloc.SymbolName}' (sectionIndex {definedSymbol.SectionIndex}, section type {_sections
[
definedSymbol.SectionIndex]?.GetType().Name}) is not in a WebcilSection. Reloc in section {sectionIndex} ({_sections
[
sectionIndex]?.GetType().Name}), offset {reloc.Offset:X}.");
1131
throw new InvalidDataException($"WASM_MEMORY_ADDR_REL_LEB: symbol '{reloc.SymbolName}' (sectionIndex {definedSymbol.SectionIndex}, section type {_sections
[
definedSymbol.SectionIndex]?.GetType().Name}) is not in a WebcilSection. Reloc in section {sectionIndex} ({_sections
[
sectionIndex]?.GetType().Name}), offset {reloc.Offset:X}.");
1195
if (shrink && _sections
[
sectionIndex] is WasmSection { Type: WasmSectionType.Code })