13 references to
ILCompiler.ReadyToRun (13)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WebCilObjectWriter.cs (13)
85
WebcilSection section = _sections
[
sectionIndex] as WebcilSection;
381
SectionDataEmitter section = _sections
[
index];
479
SectionDataEmitter emittedSection = _sections
[
i];
526
Debug.Assert(_sections
[
sectionIndex] is WebcilSection);
541
Debug.Assert(_sections
[
pending.SectionIndex] is WebcilSection);
542
WebcilSection webcilSection = (WebcilSection)_sections
[
pending.SectionIndex];
733
if (_sections
[
sectionIndex] is WebcilSection curSection)
759
if (_sections
[
definedSymbol.SectionIndex] is WebcilSection targetSection)
839
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}.");
863
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}.");
927
if (shrink && _sections
[
sectionIndex] is WasmSection { Type: WasmSectionType.Code })