Lines Matching defs:section_sp
233 SectionSP section_sp(section_list.GetSectionAtIndex(i));
234 if (section_sp) {
235 if (section_sp->IsFake()) {
238 updateSectionLoadAddress(section_sp->GetChildren(), target,
245 const lldb::addr_t slide_amount = lower - section_sp->GetFileAddress();
246 section_sp->Slide(slide_amount, false);
247 section_sp->GetChildren().Slide(-slide_amount, false);
248 section_sp->SetByteSize(upper - lower);
250 vmaddrheuristic += 2 << section_sp->GetLog2Align();
252 if (section_sp->GetFileAddress() > vmaddrheuristic)
253 lower = section_sp->GetFileAddress();
255 lower = symbolfile_addr + section_sp->GetFileOffset();
256 section_sp->SetFileAddress(symbolfile_addr +
257 section_sp->GetFileOffset());
259 target.SetSectionLoadAddress(section_sp, lower, true);
260 uint64_t upper = lower + section_sp->GetByteSize();
266 vmaddrheuristic += section_sp->GetByteSize();
378 SectionSP section_sp(section_list->GetSectionAtIndex(i));
379 if (section_sp) {
380 target.SetSectionUnloaded(section_sp);