Home
last modified time | relevance | path

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

12345

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h520 return getSection(Sec)->sh_flags; in getSectionFlags()
525 return getSection(Sec)->sh_type; in getSectionType()
530 return getSection(Sec)->sh_offset; in getSectionOffset()
808 const Elf_Shdr *ESec = getSection(Sec); in moveSectionNext()
819 return getSection(Sec)->sh_addr; in getSectionAddress()
830 return getSection(Sec) - First; in getSectionIndex()
835 return getSection(Sec)->sh_size; in getSectionSize()
841 const Elf_Shdr *EShdr = getSection(Sec); in getSectionContents()
854 return getSection(Sec)->sh_addralign; in getSectionAlignment()
869 const Elf_Shdr *EShdr = getSection(Sec); in isSectionData()
[all …]
H A DELF.h375 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym,
378 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym,
381 Expected<const Elf_Shdr *> getSection(uint32_t Index) const;
406 getSection(typename ELFT::ShdrRange Sections, uint32_t Index) { in getSection() function
454 return getSection(Sym, *SymsOrErr, ShndxTable); in getSection()
467 return getSection(Index); in getSection()
818 auto SecOrErr = getSection(Section); in getEntry()
1047 ELFFile<ELFT>::getSection(uint32_t Index) const { in getSection() function
1051 return object::getSection<ELFT>(*TableOrErr, Index); in getSection()
1136 object::getSection<ELFT>(Sections, Sec.sh_link); in getStringTableForSymtab()
[all …]
H A DMachO.h304 Expected<SectionRef> getSection(unsigned SectionIndex) const;
305 Expected<SectionRef> getSection(StringRef SectionName) const;
488 MachO::section getSection(DataRefImpl DRI) const;
490 MachO::section getSection(const LoadCommandInfo &L, unsigned Index) const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp130 TRACE("input section(" << GO->getSection() << ") "); in SelectSectionForGlobal()
168 << GO->getSection() << ") "); in getExplicitSectionGlobal()
180 StringRef Section = GO->getSection(); in getExplicitSectionGlobal()
182 return getContext().getELFSection(GO->getSection(), ELF::SHT_PROGBITS, in getExplicitSectionGlobal()
185 return getContext().getELFSection(GO->getSection(), ELF::SHT_PROGBITS, in getExplicitSectionGlobal()
218 bool IsSmall = isSmallDataSection(GVar->getSection()); in isGlobalInSmallSection()
220 << ", has section: " << GVar->getSection() << '\n'); in isGlobalInSmallSection()
399 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp100 << ", section = " << B.getSection().getName(); in operator <<()
126 auto &TargetSec = TargetBlock.getSection(); in printEdge()
168 ? createZeroFillBlock(B.getSection(), SplitIndex, B.getAddress(), in splitBlock()
171 B.getSection(), B.getContent().slice(0, SplitIndex), in splitBlock()
204 for (auto *Sym : B.getSection().symbols()) in splitBlock()
366 Section &Sec = B.getSection(); in makeTargetOutOfRangeError()
H A DJITLinkGeneric.cpp196 auto &SegLists = Layout[B->getSection().getProtectionFlags()]; in layOutBlocks()
208 if (LHS->getSection().getOrdinal() != RHS->getSection().getOrdinal()) in layOutBlocks()
209 return LHS->getSection().getOrdinal() < RHS->getSection().getOrdinal(); in layOutBlocks()
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DInputFiles.cpp201 const coff_section *ObjFile::getSection(uint32_t i) { in getSection() function in ObjFile
202 auto sec = coffObj->getSection(i); in getSection()
220 const coff_section *sec = getSection(i); in initializeChunks()
231 const coff_section *sec = getSection(sectionNumber); in readSection()
324 const coff_section *parentSec = getSection(parentIndex); in readAssociativeDefinition()
560 if (leaderChunk->getSize() != getSection(sym)->SizeOfRawData) { in handleComdatSelection()
575 SectionChunk newChunk(this, getSection(sym)); in handleComdatSelection()
592 if (leaderChunk->getSize() < getSection(sym)->SizeOfRawData) { in handleComdatSelection()
1138 const coff_section *sec = CHECK(coffObj->getSection(i), file); in isRVACode()
H A DInputFiles.h226 const coff_section* getSection(uint32_t i);
227 const coff_section *getSection(COFFSymbolRef sym) { in getSection() function
228 return getSection(sym.getSectionNumber()); in getSection()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp130 setSection(Src->getSection()); in copyAttributesFrom()
162 StringRef GlobalValue::getSection() const { in getSection() function in GlobalValue
166 return GO->getSection(); in getSection()
169 return cast<GlobalObject>(this)->getSection(); in getSection()
/freebsd-13.1/contrib/llvm-project/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()
350 unwrapOrError(Elf.getSection(Shdr.sh_link), FileName); in printSymbolVersionInfo()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h215 Section &getSection() const { return *Parent; } in getSection() function
806 B->getSection().addBlock(*B); in createBlock()
1095 Content.getSection().addSymbol(Sym); in addAnonymousSymbol()
1111 Content.getSection().addSymbol(Sym); in addDefinedSymbol()
1174 Section &Sec = Sym.getBlock().getSection(); in makeExternal()
1196 Section &Sec = Sym.getBlock().getSection(); in makeAbsolute()
1224 Content.getSection().addSymbol(Sym); in makeDefined()
1259 auto &OldSection = B.getSection(); in transferBlock()
1322 Sym.getBlock().getSection().removeSymbol(Sym); in removeDefinedSymbol()
1329 assert(llvm::none_of(B.getSection().symbols(), in removeBlock()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp32 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectWriter.cpp48 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
H A DMCCodeView.cpp484 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); in encodeInlineLineTable()
486 if (&Loc.getLabel()->getSection() != FirstSec) { in encodeInlineLineTable()
597 if (&Loc.getLabel()->getSection() == &LastLabel->getSection()) in encodeInlineLineTable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp58 MCSection &Section = Sym.getSection(); in getRelocType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVELFStreamer.cpp215 return (A.isInSection() ? A.getSection().hasInstructions() in requiresFixups()
217 (B.isInSection() ? B.getSection().hasInstructions() in requiresFixups()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionELF.h92 return &LinkedToSym->getSection(); in getLinkedToSection()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp47 StringRef Section = GVA->getSection(); in isGlobalInSmallSection()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp83 if (GVA->getSection().startswith(".ldata")) in isGlobalInSmallSectionImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DDebugObjectManagerPlugin.cpp199 DebugObjectSection *getSection(StringRef Name);
353 if (auto *DebugObjSection = getSection(Name)) in reportSectionTargetMemoryRange()
369 DebugObjectSection *ELFDebugObject::getSection(StringRef Name) { in getSection() function in llvm::orc::ELFDebugObject
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalValue.h267 bool hasSection() const { return !getSection().empty(); } in hasSection()
268 StringRef getSection() const;
H A DGlobalObject.h112 StringRef getSection() const { in getSection() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfFile.cpp40 MCSection *S = TheU->getSection(); in emitUnit()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.h132 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() function

12345