Searched refs:NewSection (Results 1 – 6 of 6) 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()678 OwnedDataSection &NewSection = in handleArgs() local681 NewSection.Type = SHT_NOTE; in handleArgs()
1747 Expected<CompressedSection> NewSection = in makeSection() local1749 if (!NewSection) in makeSection()1750 return NewSection.takeError(); in makeSection()1752 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()
1258 void transferBlock(Block &B, Section &NewSection) { in transferBlock() argument1260 if (&OldSection == &NewSection) in transferBlock()1268 NewSection.addSymbol(*S); in transferBlock()1271 NewSection.addBlock(B); in transferBlock()