Home
last modified time | relevance | path

Searched refs:addSection (Results 1 – 15 of 15) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp797 auto &StrTab = Obj->addSection<StringTableSection>(); in addStrTab()
821 auto &DataSection = Obj->addSection<Section>(Data); in addData()
891 Seg.addSection(&Section); in readProgramHeaders()
1049 return Obj.addSection<RelocationSection>(); in makeSection()
1056 return Obj.addSection<Section>(Data); in makeSection()
1058 return Obj.addSection<StringTableSection>(); in makeSection()
1064 return Obj.addSection<Section>(Data); in makeSection()
1067 return Obj.addSection<GroupSection>(Data); in makeSection()
1073 return Obj.addSection<DynamicSection>(Data); in makeSection()
1085 return Obj.addSection<Section>(Data); in makeSection()
[all …]
H A DELFObjcopy.cpp225 function_ref<SectionBase *(const SectionBase *)> addSection) { in replaceDebugSections() argument
240 SectionBase *NewSection = addSection(S); in replaceDebugSections()
466 return &Obj.addSection<CompressedSection>( in handleArgs()
475 return &Obj.addSection<DecompressedSection>(*CS); in handleArgs()
514 Obj.addSection<OwnedDataSection>(SecName, Data); in handleArgs()
531 Obj.addSection<GnuDebugLinkSection>(Config.AddGnuDebugLink); in handleArgs()
H A DObject.h324 void addSection(const SectionBase *Sec) { Sections.insert(Sec); } in addSection() function
809 template <class T, class... Ts> T &addSection(Ts &&... Args) { in addSection() function
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DLinkerScript.cpp520 Sec->addSection(S); in processSectionCommands()
544 Sec->addSection(cast<InputSection>(IS)); in createSection()
572 Out->RelocationSection->addSection(Sec); in addInputSec()
630 Sec->addSection(cast<InputSection>(IS)); in addInputSec()
657 Sec->addSection(cast<InputSection>(S)); in addOrphanSections()
H A DOutputSections.h84 void addSection(InputSection *IS);
H A DSyntheticSections.cpp446 template <class ELFT> void EhFrameSection::addSection(InputSectionBase *C) { in addSection() function in EhFrameSection
2872 void MergeSyntheticSection::addSection(MergeInputSection *MS) { in addSection() function in MergeSyntheticSection
3030 (*I)->addSection(MS); in mergeSections()
3170 template void EhFrameSection::addSection<ELF32LE>(InputSectionBase *);
3171 template void EhFrameSection::addSection<ELF32BE>(InputSectionBase *);
3172 template void EhFrameSection::addSection<ELF64LE>(InputSectionBase *);
3173 template void EhFrameSection::addSection<ELF64BE>(InputSectionBase *);
H A DSyntheticSections.h74 template <class ELFT> void addSection(InputSectionBase *S);
821 void addSection(MergeInputSection *MS);
H A DOutputSections.cpp88 void OutputSection::addSection(InputSection *IS) { in addSection() function in OutputSection
H A DRelocations.cpp576 In.BssRelRo->getParent()->addSection(Sec); in addCopyRelSymbol()
578 In.Bss->getParent()->addSection(Sec); in addCopyRelSymbol()
H A DWriter.cpp161 In.EhFrame->addSection<ELFT>(ES); in combineEhFrameSections()
/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/
H A DSectCreateFile.h66 void addSection(StringRef seg, StringRef sect, in addSection() function
H A DMachOLinkingContext.cpp813 _sectCreateFile->addSection(seg, sect, std::move(content)); in addSectCreateSection()
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DChunks.h257 static void addSection(SectionChunk *C);
H A DInputFiles.cpp213 MergeChunk::addSection(C); in readSection()
H A DChunks.cpp833 void MergeChunk::addSection(SectionChunk *C) { in addSection() function in lld::coff::MergeChunk