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));
166
int currentAlignment = (int)(
_sections
[sectionIndex].Header.SectionCharacteristics & SectionCharacteristics.AlignMask);
170
_sections
[sectionIndex].Header.SectionCharacteristics =
171
(
_sections
[sectionIndex].Header.SectionCharacteristics & ~SectionCharacteristics.AlignMask) |
281
CoffSectionHeader sectionHeader =
_sections
[sectionIndex].Header;
282
List<CoffRelocation> coffRelocations =
_sections
[sectionIndex].Relocations;
385
NumberOfSections = (uint)
_sections
.Count,
390
uint dataOffset = (uint)(coffHeader.Size +
_sections
.Count * CoffSectionHeader.Size);
392
foreach (SectionDefinition section in
_sections
)
424
foreach (SectionDefinition section in
_sections
)
446
foreach (SectionDefinition section in
_sections
)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (13)
453
numberOfSections = (ushort)
_sections
.Count;
456
foreach (SectionDefinition section in
_sections
)
483
foreach (SectionDefinition s in
_sections
)
578
uint targetRva =
_sections
[sectionIndex].Header.VirtualAddress + (uint)reloc.Offset;
685
Debug.Assert(writer.SectionIndex ==
_sections
.Count - 1, "The .reloc section must be the last section we emit.");
710
CoffSectionHeader relocHeader =
_sections
[_baseRelocSectionIndex].Header;
809
for (int i = 0; i <
_sections
.Count; i++)
811
var hdr =
_sections
[i].Header;
824
for (int i = 0; i <
_sections
.Count; i++)
826
SectionDefinition section =
_sections
[i];
889
uint relocOffset = checked((uint)(
_sections
[sectionIndex].Header.VirtualAddress + reloc.Offset));
891
uint symbolImageOffset = checked((uint)(
_sections
[definedSymbol.SectionIndex].Header.VirtualAddress + definedSymbol.Value));
916
long fileOffset =
_sections
[definedSymbol.SectionIndex].Header.PointerToRawData + definedSymbol.Value;