Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lld/ELF/
H A DWriter.cpp254 static OutputSection *findSection(StringRef name, unsigned partition = 1) { in findSection() function
300 bool hasDataRelRo = script->hasSectionsCommand && findSection(".data.rel.ro"); in createSyntheticSections()
1101 ElfSym::bss->section = findSection(".bss"); in setReservedSymbolSections()
1104 ElfSym::data->section = findSection(".data"); in setReservedSymbolSections()
1843 Out::preinitArray = findSection(".preinit_array"); in finalizeSections()
1844 Out::initArray = findSection(".init_array"); in finalizeSections()
1845 Out::finiArray = findSection(".fini_array"); in finalizeSections()
1874 OutputSection *sec = findSection(".sdata"); in finalizeSections()
2201 OutputSection *Default = findSection(".text"); in addStartEndSymbols()
2219 if (OutputSection *sec = findSection(".ARM.exidx")) in addStartEndSymbols()
[all …]
H A DDriver.cpp889 auto findSection = [&](StringRef name) -> InputSectionBase * { in readCallGraph() local
913 if (InputSectionBase *from = findSection(fields[0])) in readCallGraph()
914 if (InputSectionBase *to = findSection(fields[1])) in readCallGraph()
H A DInputFiles.cpp470 static const Elf_Shdr *findSection(ArrayRef<Elf_Shdr> sections, uint32_t type) { in findSection() function
512 findSection(sections, k == SharedKind ? SHT_DYNSYM : SHT_SYMTAB); in init()
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/lld/MachO/Arch/
H A DARM64.cpp600 auto findSection = [&](uint64_t addr) { in applyOptimizationHints() local
641 if (!findSection(args[0])) in applyOptimizationHints()
705 if (!findSection(args[0])) in applyOptimizationHints()
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp330 static Expected<Section &> findSection(StringRef SecName, Object &O) { in findSection() function
355 Expected<Section &> SecToUpdateOrErr = findSection(NewSection.SectionName, O); in updateSection()
/openbsd-src/gnu/llvm/lld/COFF/
H A DWriter.cpp259 OutputSection *findSection(StringRef name);
1342 OutputSection *from = findSection(p.first); in mergeSections()
1343 OutputSection *to = findSection(toName); in mergeSections()
2091 OutputSection *Writer::findSection(StringRef name) { in findSection() function in Writer
H A DDriver.cpp1119 auto findSection = [&](StringRef name) -> SectionChunk * { in parseCallGraphFile() local
1142 if (SectionChunk *from = findSection(fields[0])) in parseCallGraphFile()
1143 if (SectionChunk *to = findSection(fields[1])) in parseCallGraphFile()
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp532 SectionBase *Sec = Obj.findSection(SymInfo.SectionName); in addSymbol()
H A DELFObject.h1077 SectionBase *findSection(StringRef Name) { in findSection() function
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DMachO.h155 const SectionInfo &findSection(int32_t SegIndex, uint64_t SegOffset);
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DMachOObjectFile.cpp4423 const BindRebaseSegInfo::SectionInfo &BindRebaseSegInfo::findSection( in findSection() function in BindRebaseSegInfo
4441 return findSection(SegIndex, SegOffset).SectionName; in sectionName()
4447 const SectionInfo &SI = findSection(SegIndex, OffsetInSeg); in address()