Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DELFObjectFile.h449 return getSection(Sec)->sh_flags; in getSectionFlags()
454 return getSection(Sec)->sh_type; in getSectionType()
459 return getSection(Sec)->sh_offset; in getSectionOffset()
652 const Elf_Shdr *ESec = getSection(Sec); in moveSectionNext()
668 return getSection(Sec)->sh_addr; in getSectionAddress()
679 return getSection(Sec) - First; in getSectionIndex()
684 return getSection(Sec)->sh_size; in getSectionSize()
691 const Elf_Shdr *EShdr = getSection(Sec); in getSectionContents()
702 return getSection(Sec)->sh_addralign; in getSectionAlignment()
717 const Elf_Shdr *EShdr = getSection(Sec); in isSectionData()
[all …]
H A DELF.h248 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym,
251 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym,
254 Expected<const Elf_Shdr *> getSection(uint32_t Index) const;
275 getSection(typename ELFT::ShdrRange Sections, uint32_t Index) { in getSection() function
319 return getSection(Sym, *SymsOrErr, ShndxTable); in getSection()
324 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, Elf_Sym_Range Symbols, in getSection() function
332 return getSection(Index); in getSection()
497 auto SecOrErr = getSection(Section); in getEntry()
517 ELFFile<ELFT>::getSection(uint32_t Index) const { in getSection() function
521 return object::getSection<ELFT>(*TableOrErr, Index); in getSection()
[all …]
H A DMachO.h307 Expected<SectionRef> getSection(unsigned SectionIndex) const;
308 Expected<SectionRef> getSection(StringRef SectionName) const;
494 MachO::section getSection(DataRefImpl DRI) const;
496 MachO::section getSection(const LoadCommandInfo &L, unsigned Index) const;
H A DObjectFile.h176 Expected<section_iterator> getSection() const;
379 inline Expected<section_iterator> SymbolRef::getSection() const { in getSection() function
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp131 TRACE("input section(" << GO->getSection() << ") "); in SelectSectionForGlobal()
169 << GO->getSection() << ") "); in getExplicitSectionGlobal()
181 StringRef Section = GO->getSection(); in getExplicitSectionGlobal()
183 return getContext().getELFSection(GO->getSection(), ELF::SHT_PROGBITS, in getExplicitSectionGlobal()
186 return getContext().getELFSection(GO->getSection(), ELF::SHT_PROGBITS, in getExplicitSectionGlobal()
219 bool IsSmall = isSmallDataSection(GVar->getSection()); in isGlobalInSmallSection()
221 << ", has section: " << GVar->getSection() << '\n'); in isGlobalInSmallSection()
400 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DGlobals.cpp129 setSection(Src->getSection()); in copyAttributesFrom()
161 StringRef GlobalValue::getSection() const { in getSection() function in GlobalValue
165 return GO->getSection(); in getSection()
168 return cast<GlobalObject>(this)->getSection(); in getSection()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp138 const MCSectionMachO &RefSec = cast<MCSectionMachO>(Symbol.getSection()); in canUseLocalRelocation()
318 const MCSection &Sec = Symbol->getSection(); in recordRelocation()
357 const MCSection &Sec = Symbol->getSection(); in recordRelocation()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp36 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal()
/freebsd-12.1/contrib/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp562 setSection(SecTable.getSection(Info, "Info field value " + Twine(Info) + in initialize()
669 SecTable.getSection(Link, "Link field value " + Twine(Link) + in initialize()
951 GroupSec->addMember(SecTable.getSection( in initGroupSection()
959 const Elf_Shdr &Shdr = *unwrapOrError(ElfFile.getSection(SymTab->Index)); in initSymbolTable()
974 *unwrapOrError(ElfFile.getSection(SymTab->getShndxTable()->Index)); in initSymbolTable()
982 DefSection = Obj.sections().getSection( in initSymbolTable()
993 DefSection = Obj.sections().getSection( in initSymbolTable()
1025 SectionBase *SectionTableRef::getSection(uint32_t Index, Twine ErrMsg) { in getSection() function in llvm::objcopy::elf::SectionTableRef
1034 if (T *Sec = dyn_cast<T>(getSection(Index, IndexErrMsg))) in getSectionOfType()
1178 ShstrIndex = unwrapOrError(ElfFile.getSection(0))->sh_link; in build()
[all …]
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCObjectWriter.cpp49 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()
601 if (&Loc.getLabel()->getSection() == &LastLabel->getSection()) in encodeInlineLineTable()
H A DWasmObjectWriter.cpp405 const auto &Sec = static_cast<const MCSectionWasm &>(S.getSection()); in executePostLayoutBinding()
459 const MCSection &SecB = SymB.getSection(); in recordRelocation()
502 const MCSection &SecA = SymA->getSection(); in recordRelocation()
602 static_cast<const MCSectionWasm &>(RelEntry.Symbol->getSection()); in getProvisionalValue()
880 auto &FuncSection = static_cast<MCSectionWasm &>(Func.Sym->getSection()); in writeCodeSection()
1335 auto &Section = static_cast<MCSectionWasm &>(WS.getSection()); in writeObject()
1365 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection()); in writeObject()
H A DELFObjectWriter.cpp671 static_cast<const MCSectionELF &>(Symbol.getSection()); in computeSymbolTable()
1023 const MCSectionELF *Sec = cast<MCSectionELF>(&Sym->getSection()); in writeSection()
1301 Sym = Sym->getSection().getBeginSymbol(); in executePostLayoutBinding()
1376 auto &Sec = cast<MCSectionELF>(Sym->getSection()); in shouldRelocateWithSymbol()
1446 const MCSection &SecB = SymB.getSection(); in recordRelocation()
1489 ? cast<MCSectionELF>(&SymA->getSection()) in recordRelocation()
/freebsd-12.1/contrib/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp61 MCSection &Section = A->getSymbol().getSection(); in getRelocType()
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCSectionELF.h89 const MCSection *getAssociatedSection() const { return &AssociatedSymbol->getSection(); } in getAssociatedSection()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DGlobalValue.h270 bool hasSection() const { return !getSection().empty(); } in hasSection()
271 StringRef getSection() const;
H A DGlobalObject.h90 StringRef getSection() const { in getSection() function
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp85 if (GVA->getSection().startswith(".ldata")) in isGlobalInSmallSectionImpl()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyWasmObjectWriter.cpp68 return &SyExp->getSymbol().getSection(); in GetFixupSection()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfFile.cpp42 MCSection *S = TheU->getSection(); in emitUnit()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp367 Value += Writer->getSectionAddress(&S.getSection()); in requiresExternRelocation()
459 const MCSection &Sec = A->getSection(); in recordRelocation()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.h133 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() function
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DMachODumper.cpp306 static void getSection(const MachOObjectFile *Obj, in getSection() function
310 MachO::section Sect = Obj->getSection(Sec); in getSection()
441 getSection(Obj, Section.getRawDataRefImpl(), MOSection); in printSectionHeaders()
619 Expected<section_iterator> SecIOrErr = Symbol.getSection(); in printSymbol()
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCExpr.cpp111 if (&Target.getSymA()->getSymbol().getSection() != in evaluatePCRelLo()
/freebsd-12.1/contrib/llvm/lib/Object/
H A DIRSymtab.cpp286 if (!Base->getSection().empty()) in addSymbol()
287 setStr(Uncommon().SectionName, Saver.save(Base->getSection())); in addSymbol()

1234