Home | History | Annotate | Download | only in Object

Lines Matching refs:pTo

102 /// MoveSectionData - move the fragments of pTO section data to pTo
103 bool ObjectBuilder::MoveSectionData(SectionData& pFrom, SectionData& pTo)
105 assert(&pFrom != &pTo && "Cannot move section data to itself!");
107 uint32_t offset = pTo.getSection().size();
117 align->setParent(&pTo);
118 pTo.getFragmentList().push_back(align);
122 // move fragments from pFrom to pTO
124 SectionData::FragmentListType& to_list = pTo.getFragmentList();
127 frag->setParent(&pTo);
133 // set up pTo's header
134 pTo.getSection().setSize(offset);
140 void ObjectBuilder::UpdateSectionAlign(LDSection& pTo, const LDSection& pFrom)
142 if (pFrom.align() > pTo.align())
143 pTo.setAlign(pFrom.align());