Home
last modified time | relevance | path

Searched refs:findSection (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.cpp295 static OutputSection *findSection(StringRef name, unsigned partition = 1) { in findSection() function
881 config->emachine == EM_RISCV ? findSection(".sbss") : nullptr; in setReservedSymbolSections()
882 ElfSym::bss->section = sbss ? sbss : findSection(".bss"); in setReservedSymbolSections()
1696 Out::preinitArray = findSection(".preinit_array"); in finalizeSections()
1697 Out::initArray = findSection(".init_array"); in finalizeSections()
1698 Out::finiArray = findSection(".fini_array"); in finalizeSections()
1729 OutputSection *sec = findSection(".sdata"); in finalizeSections()
2111 if (OutputSection *sec = findSection(".ARM.exidx")) in addStartEndSymbols()
2182 if (OutputSection *cmd = findSection(".interp", partNo)) in createPhdrs()
2299 if (OutputSection *cmd = findSection(".openbsd.mutable", partNo)) in createPhdrs()
[all …]
H A DInputFiles.cpp522 static const Elf_Shdr *findSection(ArrayRef<Elf_Shdr> sections, uint32_t type) { in findSection() function
564 findSection(sections, k == SharedKind ? SHT_DYNSYM : SHT_SYMTAB); in init()
H A DDriver.cpp943 auto findSection = [&](StringRef name) -> InputSectionBase * { in readCallGraph() local
967 if (InputSectionBase *from = findSection(fields[0])) in readCallGraph()
968 if (InputSectionBase *to = findSection(fields[1])) in readCallGraph()
H A DSyntheticSections.cpp4628 static OutputSection *findSection(StringRef name) { in findSection() function
4687 bool hasDataRelRo = script->hasSectionsCommand && findSection(".data.rel.ro"); in createSyntheticSections()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/BTF/
H A DBTFParser.cpp95 std::optional<SectionRef> findSection(StringRef Name) const { in findSection()
311 std::optional<SectionRef> Sec = Ctx.findSection(SecName);
354 std::optional<SectionRef> Sec = Ctx.findSection(SecName);
91 std::optional<SectionRef> findSection(StringRef Name) const { findSection() function
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.cpp85 const Section *Object::findSection(ssize_t UniqueId) const { in findSection() function in llvm::objcopy::coff::Object
H A DCOFFWriter.cpp48 const Section *Sec = Obj.findSection(Sym.TargetSectionId); in finalizeSymbolContents()
66 Sec = Obj.findSection(Sym.AssociativeComdatTargetSectionId); in finalizeSymbolContents()
H A DCOFFObject.h132 const Section *findSection(ssize_t UniqueId) const;
/freebsd/contrib/llvm-project/lld/MachO/Arch/
H A DARM64.cpp629 auto findSection = [&](uint64_t addr) { in applyOptimizationHints() local
674 if (!findSection(args[0])) in applyOptimizationHints()
738 if (!findSection(args[0])) in applyOptimizationHints()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp341 static Expected<Section &> findSection(StringRef SecName, Object &O) { in findSection()
366 Expected<Section &> SecToUpdateOrErr = findSection(NewSection.SectionName, O); in updateSection()
333 static Expected<Section &> findSection(StringRef SecName, Object &O) { findSection() function
/freebsd/contrib/llvm-project/lld/COFF/
H A DWriter.cpp269 OutputSection *findSection(StringRef name);
1462 OutputSection *from = findSection(p.first); in mergeSections()
1463 OutputSection *to = findSection(toName); in mergeSections()
2328 OutputSection *Writer::findSection(StringRef name) { in findSection() function in Writer
H A DDriver.cpp1127 auto findSection = [&](StringRef name) -> SectionChunk * { in parseCallGraphFile() local
1150 if (SectionChunk *from = findSection(fields[0])) in parseCallGraphFile()
1151 if (SectionChunk *to = findSection(fields[1])) in parseCallGraphFile()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h155 const SectionInfo &findSection(int32_t SegIndex, uint64_t SegOffset);
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp566 SectionBase *Sec = Obj.findSection(SymInfo.SectionName); in addSymbol()
H A DELFObject.h1210 SectionBase *findSection(StringRef Name) { in findSection() function
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp4434 const BindRebaseSegInfo::SectionInfo &BindRebaseSegInfo::findSection( in findSection() function in BindRebaseSegInfo
4452 return findSection(SegIndex, SegOffset).SectionName; in sectionName()
4458 const SectionInfo &SI = findSection(SegIndex, OffsetInSeg); in address()