Lines Matching refs:Seg
71 auto &Seg = Unmapped.back().CodeAllocs; in allocateCodeSection() local
72 Seg.emplace_back(Size, Alignment); in allocateCodeSection()
74 alignAddr(Seg.back().Contents.get(), Align(Alignment))); in allocateCodeSection()
88 auto &Seg = in allocateDataSection() local
91 Seg.emplace_back(Size, Alignment); in allocateDataSection()
93 alignAddr(Seg.back().Contents.get(), Align(Alignment))); in allocateDataSection()
242 auto &Seg = FR.Segments.back(); in finalizeMemory() local
243 Seg.Prot = SegProts[I]; in finalizeMemory()
244 Seg.Addr = RemoteAddrs[I]->Start; in finalizeMemory()
246 Seg.Size = alignTo(Seg.Size, SecAlloc.Align); in finalizeMemory()
247 Seg.Size += SecAlloc.Size; in finalizeMemory()
249 AggregateContents[I] = std::make_unique<char[]>(Seg.Size); in finalizeMemory()
261 Seg.Content = {AggregateContents[I].get(), SecOffset}; in finalizeMemory()