Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DWriter.cpp1154 config->emachine == EM_RISCV ? findSection(".sbss") : nullptr; in setReservedSymbolSections()
1155 ElfSym::bss->section = sbss ? sbss : findSection(".bss"); in setReservedSymbolSections()
1912 Out::preinitArray = findSection(".preinit_array"); in finalizeSections()
1913 Out::initArray = findSection(".init_array"); in finalizeSections()
1914 Out::finiArray = findSection(".fini_array"); in finalizeSections()
1945 OutputSection *sec = findSection(".sdata"); in finalizeSections()
2313 OutputSection *Default = findSection(".text"); in addStartEndSymbols()
2331 if (OutputSection *sec = findSection(".ARM.exidx")) in addStartEndSymbols()
2405 if (OutputSection *cmd = findSection(".interp", partNo)) in createPhdrs()
2512 if (OutputSection *cmd = findSection(".openbsd.randomdata", partNo)) in createPhdrs()
[all …]
H A DInputFiles.cpp499 static const Elf_Shdr *findSection(ArrayRef<Elf_Shdr> sections, uint32_t type) { in findSection() function
541 findSection(sections, k == SharedKind ? SHT_DYNSYM : SHT_SYMTAB); in init()
H A DDriver.cpp914 auto findSection = [&](StringRef name) -> InputSectionBase * { in readCallGraph() local
938 if (InputSectionBase *from = findSection(fields[0])) in readCallGraph()
939 if (InputSectionBase *to = findSection(fields[1])) in readCallGraph()
/freebsd-14.2/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-14.2/contrib/llvm-project/lld/MachO/Arch/
H A DARM64.cpp631 auto findSection = [&](uint64_t addr) { in applyOptimizationHints() local
676 if (!findSection(args[0])) in applyOptimizationHints()
740 if (!findSection(args[0])) in applyOptimizationHints()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/BTF/
H A DBTFParser.cpp95 std::optional<SectionRef> findSection(StringRef Name) const { in findSection() function
311 std::optional<SectionRef> Sec = Ctx.findSection(SecName); in parseLineInfo()
354 std::optional<SectionRef> Sec = Ctx.findSection(SecName); in parseRelocInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp341 static Expected<Section &> findSection(StringRef SecName, Object &O) { in findSection() function
366 Expected<Section &> SecToUpdateOrErr = findSection(NewSection.SectionName, O); in updateSection()
/freebsd-14.2/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()
2312 OutputSection *Writer::findSection(StringRef name) { in findSection() function in Writer
H A DDriver.cpp1135 auto findSection = [&](StringRef name) -> SectionChunk * { in parseCallGraphFile() local
1158 if (SectionChunk *from = findSection(fields[0])) in parseCallGraphFile()
1159 if (SectionChunk *to = findSection(fields[1])) in parseCallGraphFile()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp549 SectionBase *Sec = Obj.findSection(SymInfo.SectionName); in addSymbol()
H A DELFObject.h1086 SectionBase *findSection(StringRef Name) { in findSection() function
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h155 const SectionInfo &findSection(int32_t SegIndex, uint64_t SegOffset);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp4430 const BindRebaseSegInfo::SectionInfo &BindRebaseSegInfo::findSection( in findSection() function in BindRebaseSegInfo
4448 return findSection(SegIndex, SegOffset).SectionName; in sectionName()
4454 const SectionInfo &SI = findSection(SegIndex, OffsetInSeg); in address()