Home
last modified time | relevance | path

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

/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/lld/ELF/
H A DWriter.cpp308 static OutputSection *findSection(Ctx &ctx, StringRef name, in findSection() function
913 ctx.arg.emachine == EM_RISCV ? findSection(ctx, ".sbss") : nullptr; in setReservedSymbolSections()
914 ctx.sym.bss->section = sbss ? sbss : findSection(ctx, ".bss"); in setReservedSymbolSections()
1798 ctx.out.preinitArray = findSection(ctx, ".preinit_array"); in finalizeSections()
1799 ctx.out.initArray = findSection(ctx, ".init_array"); in finalizeSections()
1800 ctx.out.finiArray = findSection(ctx, ".fini_array"); in finalizeSections()
1830 OutputSection *sec = findSection(ctx, ".sdata"); in finalizeSections()
2261 if (OutputSection *sec = findSection(ctx, ".ARM.exidx")) in addStartEndSymbols()
2334 if (OutputSection *cmd = findSection(ctx, ".interp", partNo)) in createPhdrs()
2457 if (OutputSection *cmd = findSection(ctx, ".openbsd.mutable", partNo)) in createPhdrs()
[all …]
H A DInputFiles.cpp475 static const Elf_Shdr *findSection(ArrayRef<Elf_Shdr> sections, uint32_t type) { in findSection() function
517 findSection(sections, k == SharedKind ? SHT_DYNSYM : SHT_SYMTAB); in init()
H A DDriver.cpp1013 auto findSection = [&](StringRef name) -> InputSectionBase * { in readCallGraph() local
1037 if (InputSectionBase *from = findSection(fields[0])) in readCallGraph()
1038 if (InputSectionBase *to = findSection(fields[1])) in readCallGraph()
H A DSyntheticSections.cpp4701 static OutputSection *findSection(Ctx &ctx, StringRef name) { in findSection() function
4758 ctx.script->hasSectionsCommand && findSection(ctx, ".data.rel.ro"); in createSyntheticSections()
/freebsd/contrib/llvm-project/lld/MachO/Arch/
H A DARM64.cpp626 auto findSection = [&](uint64_t addr) { in applyOptimizationHints() local
671 if (!findSection(args[0])) in applyOptimizationHints()
735 if (!findSection(args[0])) in applyOptimizationHints()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.cpp86 const Section *Object::findSection(ssize_t UniqueId) const { in findSection() function in llvm::objcopy::coff::Object
H A DCOFFWriter.cpp50 const Section *Sec = Obj.findSection(Sym.TargetSectionId); in finalizeSymbolContents()
68 Sec = Obj.findSection(Sym.AssociativeComdatTargetSectionId); in finalizeSymbolContents()
H A DCOFFObject.h133 const Section *findSection(ssize_t UniqueId) const;
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp360 static Expected<Section &> findSection(StringRef SecName, Object &O) { in findSection() function
403 Expected<Section &> SecToUpdateOrErr = findSection(NewSection.SectionName, O); in updateSection()
/freebsd/contrib/llvm-project/lld/COFF/
H A DWriter.cpp273 OutputSection *findSection(StringRef name);
1167 if (OutputSection *sec = findSection(".CRT")) in createSections()
1599 OutputSection *from = findSection(p.first); in mergeSection()
1600 OutputSection *to = findSection(toName); in mergeSection()
2693 OutputSection *Writer::findSection(StringRef name) { in findSection() function in Writer
H A DDriver.cpp1122 auto findSection = [&](StringRef name) -> SectionChunk * { in parseCallGraphFile() local
1145 if (SectionChunk *from = findSection(fields[0])) in parseCallGraphFile()
1146 if (SectionChunk *to = findSection(fields[1])) in parseCallGraphFile()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h158 const SectionInfo &findSection(int32_t SegIndex, uint64_t SegOffset);
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp562 SectionBase *Sec = Obj.findSection(SymInfo.SectionName); in addSymbol()
H A DELFObject.h1217 SectionBase *findSection(StringRef Name) { in findSection() function
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp4433 const BindRebaseSegInfo::SectionInfo &BindRebaseSegInfo::findSection( in findSection() function in BindRebaseSegInfo
4451 return findSection(SegIndex, SegOffset).SectionName; in sectionName()
4457 const SectionInfo &SI = findSection(SegIndex, OffsetInSeg); in address()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc211 {"_ZN16ImageLoaderMachO11findSectionEPKvPPKcS4_Pm", "ImageLoaderMachO::findSection(void const*, cha…