Home
last modified time | relevance | path

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

123456

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h550 return getSection(Sec)->sh_flags; in getSectionFlags()
555 return getSection(Sec)->sh_type; in getSectionType()
560 return getSection(Sec)->sh_offset; in getSectionOffset()
853 const Elf_Shdr *ESec = getSection(Sec); in moveSectionNext()
864 return getSection(Sec)->sh_addr; in getSectionAddress()
875 return getSection(Sec) - First; in getSectionIndex()
880 return getSection(Sec)->sh_size; in getSectionSize()
886 const Elf_Shdr *EShdr = getSection(Sec); in getSectionContents()
898 return getSection(Sec)->sh_addralign; in getSectionAlignment()
913 const Elf_Shdr *EShdr = getSection(Sec); in isSectionData()
[all …]
H A DELF.h435 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym,
438 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym,
441 Expected<const Elf_Shdr *> getSection(uint32_t Index) const;
485 getSection(typename ELFT::ShdrRange Sections, uint32_t Index) { in getSection() function
533 return getSection(Sym, *SymsOrErr, ShndxTable); in getSection()
546 return getSection(Index); in getSection()
931 auto SecOrErr = getSection(Section); in getEntry()
1160 ELFFile<ELFT>::getSection(uint32_t Index) const { in getSection() function
1164 return object::getSection<ELFT>(*TableOrErr, Index); in getSection()
1249 object::getSection<ELFT>(Sections, Sec.sh_link); in getStringTableForSymtab()
[all …]
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp118 << ", section = " << B.getSection().getName(); in operator <<()
143 auto &TargetSec = TargetBlock.getSection(); in printEdge()
184 ? createZeroFillBlock(B.getSection(), SplitIndex, B.getAddress(), in splitBlock()
187 B.getSection(), B.getContent().slice(0, SplitIndex), in splitBlock()
220 for (auto *Sym : B.getSection().symbols()) in splitBlock()
384 Section &Sec = B.getSection(); in makeTargetOutOfRangeError()
390 ErrStream << E.getTarget().getBlock().getSection().getName() << " + " in makeTargetOutOfRangeError()
H A Daarch32.cpp405 "In graph " + G.getName() + ", section " + B.getSection().getName() + in readAddendData()
428 "In graph " + G.getName() + ", section " + B.getSection().getName() + in readAddendArm()
459 "In graph " + G.getName() + ", section " + B.getSection().getName() + in readAddendThumb()
517 "In graph " + G.getName() + ", section " + B.getSection().getName() + in applyFixupData()
591 "In graph " + G.getName() + ", section " + B.getSection().getName() + in applyFixupArm()
690 "In graph " + G.getName() + ", section " + B.getSection().getName() + in applyFixupThumb()
879 << StubEntrypoint->getBlock().getSection().getName() << "\n"; in visitEdge()
925 << StubSymbol->getBlock().getSection().getName() << "\n"; in visitEdge()
H A DJITLinkMemoryManager.cpp43 if (LHS->getSection().getOrdinal() != RHS->getSection().getOrdinal()) in BasicLayout()
44 return LHS->getSection().getOrdinal() < RHS->getSection().getOrdinal(); in BasicLayout()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp95 auto SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString()
132 Expected<section_iterator> SymSI = SI->getSection(); in getRelocationValueString()
136 Obj->getSection((*SymSI)->getRawDataRefImpl()); in getRelocationValueString()
187 ->getSection(Sec.getRawDataRefImpl())))) in getSectionLMA()
422 unwrapOrError(Elf.getSection(Shdr.sh_link), FileName); in printSymbolVersion()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h222 Section &getSection() const { return *Parent; } in getSection() function
871 B->getSection().addBlock(*B); in createBlock()
1233 Content.getSection().addSymbol(Sym); in addAnonymousSymbol()
1248 Content.getSection().addSymbol(Sym); in addDefinedSymbol()
1328 Section &Sec = Sym.getBlock().getSection(); in makeExternal()
1356 Section &Sec = Sym.getBlock().getSection(); in makeAbsolute()
1385 Content.getSection().addSymbol(Sym); in makeDefined()
1412 if (&DestBlock.getSection() != &OldSection) { in transferDefinedSymbol()
1414 DestBlock.getSection().addSymbol(Sym); in transferDefinedSymbol()
1426 auto &OldSection = B.getSection(); in transferBlock()
[all …]
/freebsd-14.2/contrib/llvm-project/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()
1118 const coff_section *sec = CHECK(coffObj->getSection(i), file); in isRVACode()
H A DInputFiles.h219 const coff_section* getSection(uint32_t i);
220 const coff_section *getSection(COFFSymbolRef sym) { in getSection() function
221 return getSection(sym.getSectionNumber()); in getSection()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp141 setSection(Src->getSection()); in copyAttributesFrom()
174 StringRef GlobalValue::getSection() const { in getSection() function in GlobalValue
178 return GO->getSection(); in getSection()
181 return cast<GlobalObject>(this)->getSection(); in getSection()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp137 const MCSectionMachO &RefSec = cast<MCSectionMachO>(Symbol.getSection()); in canUseLocalRelocation()
315 const MCSection &Sec = Symbol->getSection(); in recordRelocation()
354 const MCSection &Sec = Symbol->getSection(); in recordRelocation()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp32 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDirectXAsmPrinter.cpp47 if (GV->getSection() == "llvm.metadata") in emitGlobalVariable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectWriter.cpp48 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
H A DMCCodeView.cpp499 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); in encodeInlineLineTable()
501 if (&Loc.getLabel()->getSection() != FirstSec) { in encodeInlineLineTable()
614 if (&Loc.getLabel()->getSection() == &LastLabel->getSection()) in encodeInlineLineTable()
H A DMCPseudoProbe.cpp220 return A.first->getSection().getOrdinal() < in emit()
221 B.first->getSection().getOrdinal(); in emit()
226 FuncSym->getSection())) { in emit()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp58 MCSection &Section = Sym.getSection(); in getRelocType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionELF.h90 return &LinkedToSym->getSection(); in getLinkedToSection()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp83 if (GVA->getSection().starts_with(".ldata")) in isGlobalInSmallSectionImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DDebugObjectManagerPlugin.cpp204 DebugObjectSection *getSection(StringRef Name);
351 if (auto *DebugObjSection = getSection(Name)) in reportSectionTargetMemoryRange()
368 DebugObjectSection *ELFDebugObject::getSection(StringRef Name) { in getSection() function in llvm::orc::ELFDebugObject
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFThumb.h64 auto SectionIterOrErr = SR.getSection(); in getJITSymbolFlags()
96 auto SectionOrErr = Symbol->getSection(); in processRelocationRef()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalValue.h290 bool hasSection() const { return !getSection().empty(); } in hasSection()
291 StringRef getSection() const;
H A DGlobalObject.h118 StringRef getSection() const { in getSection() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp67 StringRef Section = GVA->getSection(); in isGlobalInSmallSection()

123456