Home
last modified time | relevance | path

Searched refs:getSection (Results 1 – 25 of 145) sorted by relevance

123456

/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DELFObjectFile.h421 auto RelSecOrErr = EF.getSection(Rel.d.a); in getRelSection()
428 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() function
509 auto SymTabOrErr = EF.getSection(Sym.d.a); in getSymbolName()
513 auto StrTabOrErr = EF.getSection(SymTableSec->sh_link); in getSymbolName()
536 return getSection(Sec)->sh_flags; in getSectionFlags()
541 return getSection(Sec)->sh_type; in getSectionType()
546 return getSection(Sec)->sh_offset; in getSectionOffset()
588 auto SymTabOrErr = EF.getSection(Symb.d.a); in getSymbolAddress()
604 EF.getSection(**SymOrErr, *SymTabOrErr, ShndxTable); in getSymbolAddress()
800 auto ESecOrErr = EF.getSection(*ESym, SymTab, ShndxTable); in getSymbolSection()
[all …]
H A DELF.h374 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym,
377 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym,
380 Expected<const Elf_Shdr *> getSection(uint32_t Index) const;
406 getSection(typename ELFT::ShdrRange Sections, uint32_t Index) { in getSection() function
449 ELFFile<ELFT>::getSection(const Elf_Sym &Sym, const Elf_Shdr *SymTab, in getSection() function
454 return getSection(Sym, *SymsOrErr, ShndxTable); in getSection()
459 ELFFile<ELFT>::getSection(const Elf_Sym &Sym, Elf_Sym_Range Symbols, in getSection() function
467 return getSection(Index); in getSection()
852 auto SecOrErr = getSection(Section); in getEntry()
1081 ELFFile<ELFT>::getSection(uint32_t Index) const { in getSection() function
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp129 TRACE("input section(" << GO->getSection() << ") "); in SelectSectionForGlobal()
167 << GO->getSection() << ") "); in getExplicitSectionGlobal()
179 StringRef Section = GO->getSection(); in getExplicitSectionGlobal()
181 return getContext().getELFSection(GO->getSection(), ELF::SHT_PROGBITS, in getExplicitSectionGlobal()
184 return getContext().getELFSection(GO->getSection(), ELF::SHT_PROGBITS, in getExplicitSectionGlobal()
217 bool IsSmall = isSmallDataSection(GVar->getSection()); in isGlobalInSmallSection()
219 << ", has section: " << GVar->getSection() << '\n'); in isGlobalInSmallSection()
400 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
/openbsd-src/gnu/llvm/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink-elf.cpp32 B.getSection().getName() + in getFirstRelocationEdge()
46 TargetSym.getBlock().getSection().getName() + in getELFGOTTarget()
58 if (!GOTSym.isDefined() || !isELFGOTSection(GOTSym.getBlock().getSection())) in getELFStubTarget()
61 GOTSym.getBlock().getSection().getName() + in getELFStubTarget()
H A Dllvm-jitlink-coff.cpp32 B.getSection().getName() + in getFirstRelocationEdge()
46 TargetSym.getBlock().getSection().getName() + in getCOFFGOTTarget()
58 if (!GOTSym.isDefined() || !isCOFFGOTSection(GOTSym.getBlock().getSection())) in getCOFFStubTarget()
61 GOTSym.getBlock().getSection().getName() + in getCOFFStubTarget()
H A Dllvm-jitlink-macho.cpp34 B.getSection().getName() + in getFirstRelocationEdge()
48 TargetSym.getBlock().getSection().getName() + in getMachOGOTTarget()
60 if (!GOTSym.isDefined() || !isMachOGOTSection(GOTSym.getBlock().getSection())) in getMachOStubTarget()
63 GOTSym.getBlock().getSection().getName() + in getMachOStubTarget()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp98 << ", section = " << B.getSection().getName(); in operator <<()
123 auto &TargetSec = TargetBlock.getSection(); in printEdge()
164 ? createZeroFillBlock(B.getSection(), SplitIndex, B.getAddress(), in splitBlock()
167 B.getSection(), B.getContent().slice(0, SplitIndex), in splitBlock()
200 for (auto *Sym : B.getSection().symbols()) in splitBlock()
364 Section &Sec = B.getSection(); in makeTargetOutOfRangeError()
370 ErrStream << E.getTarget().getBlock().getSection().getName() << " + " in makeTargetOutOfRangeError()
H A DJITLinkMemoryManager.cpp42 if (LHS->getSection().getOrdinal() != RHS->getSection().getOrdinal()) in BasicLayout()
43 return LHS->getSection().getOrdinal() < RHS->getSection().getOrdinal(); in BasicLayout()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVELFStreamer.cpp237 if (A.isInSection() && A.getSection().getKind().isText()) in requiresFixups()
239 if (B.isInSection() && B.getSection().getKind().isText()) in requiresFixups()
254 A.getSection().getName() != B.getSection().getName(); in requiresFixups()
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h217 Section &getSection() const { return *Parent; } in getSection() function
844 B->getSection().addBlock(*B); in createBlock()
1155 Content.getSection().addSymbol(Sym); in addAnonymousSymbol()
1170 Content.getSection().addSymbol(Sym); in addDefinedSymbol()
1235 Section &Sec = Sym.getBlock().getSection(); in makeExternal()
1263 Section &Sec = Sym.getBlock().getSection(); in makeAbsolute()
1292 Content.getSection().addSymbol(Sym); in makeDefined()
1309 auto &OldSection = Sym.getBlock().getSection(); in transferDefinedSymbol()
1319 if (&DestBlock.getSection() != &OldSection) { in transferDefinedSymbol()
1321 DestBlock.getSection().addSymbol(Sym); in transferDefinedSymbol()
[all …]
/openbsd-src/gnu/llvm/lld/COFF/
H A DInputFiles.cpp173 const coff_section *ObjFile::getSection(uint32_t i) { in getSection() function in ObjFile
174 auto sec = coffObj->getSection(i); in getSection()
192 const coff_section *sec = getSection(i); in initializeChunks()
203 const coff_section *sec = getSection(sectionNumber); in readSection()
296 const coff_section *parentSec = getSection(parentIndex); in readAssociativeDefinition()
532 if (leaderChunk->getSize() != getSection(sym)->SizeOfRawData) { in handleComdatSelection()
547 SectionChunk newChunk(this, getSection(sym)); in handleComdatSelection()
564 if (leaderChunk->getSize() < getSection(sym)->SizeOfRawData) { in handleComdatSelection()
1100 const coff_section *sec = CHECK(coffObj->getSection(i), file); in isRVACode()
H A DInputFiles.h216 const coff_section* getSection(uint32_t i);
217 const coff_section *getSection(COFFSymbolRef sym) { in getSection() function
218 return getSection(sym.getSectionNumber()); in getSection()
/openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/
H A DELFDump.cpp61 auto SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString()
98 Expected<section_iterator> SymSI = SI->getSection(); in getRelocationValueString()
102 Obj->getSection((*SymSI)->getRawDataRefImpl()); in getRelocationValueString()
364 unwrapOrError(Elf.getSection(Shdr.sh_link), FileName); in printSymbolVersionInfo()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DGlobals.cpp133 setSection(Src->getSection()); in copyAttributesFrom()
165 StringRef GlobalValue::getSection() const { in getSection() function in GlobalValue
169 return GO->getSection(); in getSection()
172 return cast<GlobalObject>(this)->getSection(); in getSection()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp137 const MCSectionMachO &RefSec = cast<MCSectionMachO>(Symbol.getSection()); in canUseLocalRelocation()
317 const MCSection &Sec = Symbol->getSection(); in recordRelocation()
356 const MCSection &Sec = Symbol->getSection(); in recordRelocation()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp32 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/
H A DDirectXAsmPrinter.cpp47 if (GV->getSection() == "llvm.metadata") in emitGlobalVariable()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCObjectWriter.cpp50 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
H A DMCCodeView.cpp485 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); in encodeInlineLineTable()
487 if (&Loc.getLabel()->getSection() != FirstSec) { in encodeInlineLineTable()
598 if (&Loc.getLabel()->getSection() == &LastLabel->getSection()) in encodeInlineLineTable()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp58 MCSection &Section = Sym.getSection(); in getRelocType()
/openbsd-src/gnu/llvm/llvm/tools/dsymutil/
H A DMachOUtils.cpp229 getSection(const object::MachOObjectFile &Obj, in getSection() function
232 return Obj.getSection(LCI, Idx); in getSection()
236 getSection(const object::MachOObjectFile &Obj, in getSection() function
294 auto Sect = getSection(Obj, Segment, LCI, i); in transferSegmentAndSections()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCSectionELF.h90 return &LinkedToSym->getSection(); in getLinkedToSection()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Delf2yaml.cpp156 Obj.getSection(*Sym, SymTab, ShndxTables.lookup(SymTab)); in getUniquedSymbolName()
326 const Elf_Shdr *LinkedSymTab = cantFail(Obj.getSection(Sec.sh_link)); in dump()
730 auto ShdrOrErr = Obj.getSection(*Sym, SymTab, ShndxTables.lookup(SymTab)); in dumpSymbol()
763 auto StrTabSec = Obj.getSection(SymTab->sh_link); in dumpRelocation()
803 Expected<const Elf_Shdr *> LinkSection = Obj.getSection(Shdr->sh_link); in dumpCommonSection()
830 auto InfoSection = Obj.getSection(Shdr->sh_info); in dumpCommonRelocationSection()
1102 auto SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelocSection()
1346 auto StringTableShdrOrErr = Obj.getSection(Shdr->sh_link); in dumpVerdefSection()
1427 auto StringTableShdrOrErr = Obj.getSection(Shdr->sh_link); in dumpVerneedSection()
1476 auto SymtabOrErr = Obj.getSection(SymtabNdx); in getSymbolName()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp47 StringRef Section = GVA->getSection(); in isGlobalInSmallSection()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DDebugObjectManagerPlugin.cpp210 DebugObjectSection *getSection(StringRef Name);
365 if (auto *DebugObjSection = getSection(Name)) in reportSectionTargetMemoryRange()
383 DebugObjectSection *ELFDebugObject::getSection(StringRef Name) { in getSection() function in llvm::orc::ELFDebugObject

123456