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)
453numberOfSections = (ushort)_sections.Count; 456foreach (SectionDefinition section in _sections) 483foreach (SectionDefinition s in _sections) 578uint targetRva = _sections[sectionIndex].Header.VirtualAddress + (uint)reloc.Offset; 685Debug.Assert(writer.SectionIndex == _sections.Count - 1, "The .reloc section must be the last section we emit."); 710CoffSectionHeader relocHeader = _sections[_baseRelocSectionIndex].Header; 809for (int i = 0; i < _sections.Count; i++) 811var hdr = _sections[i].Header; 824for (int i = 0; i < _sections.Count; i++) 826SectionDefinition section = _sections[i]; 889uint relocOffset = checked((uint)(_sections[sectionIndex].Header.VirtualAddress + reloc.Offset)); 891uint symbolImageOffset = checked((uint)(_sections[definedSymbol.SectionIndex].Header.VirtualAddress + definedSymbol.Value)); 916long fileOffset = _sections[definedSymbol.SectionIndex].Header.PointerToRawData + definedSymbol.Value;