Searched refs:NewSection (Results 1 – 5 of 5) sorted by relevance
22 Section NewSection, std::unique_ptr<MemoryBuffer> &&Content) { in addSectionWithOwnedContents() argument23 Sections.push_back(NewSection); in addSectionWithOwnedContents()
35 void addSectionWithOwnedContents(Section NewSection,
221 Expected<SectionBase *> NewSection = AddSection(S); in replaceDebugSections() local222 if (!NewSection) in replaceDebugSections()223 return NewSection.takeError(); in replaceDebugSections()225 FromTo[S] = *NewSection; in replaceDebugSections()481 Expected<CompressedSection> NewSection = in replaceAndRemoveSections() local483 if (!NewSection) in replaceAndRemoveSections()484 return NewSection.takeError(); in replaceAndRemoveSections()486 return &Obj.addSection<CompressedSection>(std::move(*NewSection)); in replaceAndRemoveSections()624 OwnedDataSection &NewSection = in handleArgs() local627 NewSection.Type = SHT_NOTE; in handleArgs()
1742 Expected<CompressedSection> NewSection = in makeSection() local1744 if (!NewSection) in makeSection()1745 return NewSection.takeError(); in makeSection()1747 return Obj.addSection<CompressedSection>(std::move(*NewSection)); in makeSection()
412 MCSectionSubPair NewSection = I->first; in PopSection() local414 if (NewSection.first && OldSection != NewSection) in PopSection()415 changeSection(NewSection.first, NewSection.second); in PopSection()