25 references to _sections
ILCompiler.ReadyToRun (25)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\CoffObjectWriter.cs (12)
135_sectionNumberToComdatAuxRecord[_sections.Count] = auxRecord; 159_sections.Add(new SectionDefinition(sectionHeader, sectionStream, new List<CoffRelocation>(), comdatName, symbolName)); 166int currentAlignment = (int)(_sections[sectionIndex].Header.SectionCharacteristics & SectionCharacteristics.AlignMask); 170_sections[sectionIndex].Header.SectionCharacteristics = 171(_sections[sectionIndex].Header.SectionCharacteristics & ~SectionCharacteristics.AlignMask) | 281CoffSectionHeader sectionHeader = _sections[sectionIndex].Header; 282List<CoffRelocation> coffRelocations = _sections[sectionIndex].Relocations; 385NumberOfSections = (uint)_sections.Count, 390uint dataOffset = (uint)(coffHeader.Size + _sections.Count * CoffSectionHeader.Size); 392foreach (SectionDefinition section in _sections) 424foreach (SectionDefinition section in _sections) 446foreach (SectionDefinition section in _sections)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (13)
452numberOfSections = (ushort)_sections.Count; 455foreach (SectionDefinition section in _sections) 482foreach (SectionDefinition s in _sections) 577uint targetRva = _sections[sectionIndex].Header.VirtualAddress + (uint)reloc.Offset; 684Debug.Assert(writer.SectionIndex == _sections.Count - 1, "The .reloc section must be the last section we emit."); 709CoffSectionHeader relocHeader = _sections[_baseRelocSectionIndex].Header; 808for (int i = 0; i < _sections.Count; i++) 810var hdr = _sections[i].Header; 823for (int i = 0; i < _sections.Count; i++) 825SectionDefinition section = _sections[i]; 896uint relocOffset = checked((uint)(_sections[sectionIndex].Header.VirtualAddress + reloc.Offset)); 898uint symbolImageOffset = checked((uint)(_sections[definedSymbol.SectionIndex].Header.VirtualAddress + definedSymbol.Value)); 929long fileOffset = _sections[definedSymbol.SectionIndex].Header.PointerToRawData + definedSymbol.Value;