Home
last modified time | relevance | path

Searched refs:ParentSegment (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp328 Segment *Seg = Sec->ParentSegment; in sectionPhysicalAddr()
1360 Child.ParentSegment = &Parent; in setParentSegment()
1414 if (!Sec.ParentSegment || Sec.ParentSegment->Offset > Seg.Offset) in readProgramHeaders()
1415 Sec.ParentSegment = &Seg; in readProgramHeaders()
2037 if (Sec.ParentSegment == nullptr) in writeSectionData()
2055 auto *Parent = Sec->ParentSegment; in writeSegmentData()
2099 if (!OldSec->ParentSegment) { in updateSection()
2278 if (Sec.ParentSegment != nullptr) { in layoutSections()
2317 auto *FirstSec = Sec->ParentSegment && Sec->ParentSegment->Type == PT_LOAD in layoutSectionsForOnlyKeepDebug()
2367 : (Seg->ParentSegment ? Seg->ParentSegment->Offset : 0); in layoutSegmentsForOnlyKeepDebug()
[all …]
H A DELFObjcopy.cpp410 return RemovePred(Sec) || Sec.ParentSegment == nullptr; in replaceAndRemoveSections()
426 return (Sec.Flags & SHF_ALLOC) == 0 && Sec.ParentSegment == nullptr; in replaceAndRemoveSections()
443 if (Sec.ParentSegment != nullptr) in replaceAndRemoveSections()
454 return (Sec.Flags & SHF_ALLOC) != 0 && !Sec.ParentSegment; in replaceAndRemoveSections()
H A DELFObject.h393 Segment *ParentSegment = nullptr; variable
462 Segment *ParentSegment = nullptr; variable
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Doverlap-chain.test1 # This test tests how ParentSegment is set for Segments. In particular this test