Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lld/ELF/
H A DWriter.cpp273 static OutputSection *findSection(StringRef name, unsigned partition = 1) { in findSection() function
1108 ElfSym::bss->section = findSection(".bss"); in setReservedSymbolSections()
1851 Out::preinitArray = findSection(".preinit_array"); in finalizeSections()
1852 Out::initArray = findSection(".init_array"); in finalizeSections()
1853 Out::finiArray = findSection(".fini_array"); in finalizeSections()
1881 OutputSection *sec = findSection(".sdata"); in finalizeSections()
2219 OutputSection *Default = findSection(".text"); in addStartEndSymbols()
2237 if (OutputSection *sec = findSection(".ARM.exidx")) in addStartEndSymbols()
2311 if (OutputSection *cmd = findSection(".interp", partNo)) in createPhdrs()
2406 if (OutputSection *cmd = findSection(".openbsd.randomdata", partNo)) in createPhdrs()
[all …]
H A DDriver.cpp849 auto findSection = [&](StringRef name) -> InputSectionBase * { in readCallGraph() local
873 if (InputSectionBase *from = findSection(fields[0])) in readCallGraph()
874 if (InputSectionBase *to = findSection(fields[1])) in readCallGraph()
H A DInputFiles.cpp322 static const Elf_Shdr *findSection(ArrayRef<Elf_Shdr> sections, uint32_t type) { in findSection() function
347 findSection(sections, isDSO ? SHT_DYNSYM : SHT_SYMTAB); in init()
/llvm-project-15.0.7/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.h133 const Section *findSection(ssize_t UniqueId) const;
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/lld/COFF/
H A DWriter.cpp245 OutputSection *findSection(StringRef name);
1263 OutputSection *from = findSection(p.first); in mergeSections()
1264 OutputSection *to = findSection(toName); in mergeSections()
2008 OutputSection *Writer::findSection(StringRef name) { in findSection() function in Writer
H A DDriver.cpp1113 auto findSection = [&](StringRef name) -> SectionChunk * { in parseCallGraphFile() local
1136 if (SectionChunk *from = findSection(fields[0])) in parseCallGraphFile()
1137 if (SectionChunk *to = findSection(fields[1])) in parseCallGraphFile()
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp533 SectionBase *Sec = Obj.findSection(SymInfo.SectionName); in addSymbol()
H A DELFObject.h1073 SectionBase *findSection(StringRef Name) { in findSection() function
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DMachO.h155 const SectionInfo &findSection(int32_t SegIndex, uint64_t SegOffset);
/llvm-project-15.0.7/llvm/lib/Object/
H A DMachOObjectFile.cpp4245 const BindRebaseSegInfo::SectionInfo &BindRebaseSegInfo::findSection( in findSection() function in BindRebaseSegInfo
4263 return findSection(SegIndex, SegOffset).SectionName; in sectionName()
4269 const SectionInfo &SI = findSection(SegIndex, OffsetInSeg); in address()