Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DELFObjectFile.h408 auto RelSecOrErr = EF.getSection(Rel.d.a); in getRelSection()
414 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() function
493 auto SymTabOrErr = EF.getSection(Sym.d.a); in getSymbolName()
497 auto StrTabOrErr = EF.getSection(SymTableSec->sh_link); in getSymbolName()
520 return getSection(Sec)->sh_flags; in getSectionFlags()
525 return getSection(Sec)->sh_type; in getSectionType()
530 return getSection(Sec)->sh_offset; in getSectionOffset()
572 auto SymTabOrErr = EF.getSection(Symb.d.a); in getSymbolAddress()
588 EF.getSection(**SymOrErr, *SymTabOrErr, ShndxTable); in getSymbolAddress()
780 auto ESecOrErr = EF.getSection(*ESym, SymTab, ShndxTable); in getSymbolSection()
[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
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()
818 auto SecOrErr = getSection(Section); in getEntry()
1047 ELFFile<ELFT>::getSection(uint32_t Index) const { in getSection() function
[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;
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/sections/
H A Dosx.d199 auto sect = getSection(h, slide, e.seg.ptr, e.sect.ptr); in sections_osx_onAddImage()
204 auto minfosect = getSection(h, slide, "__DATA", "__minfodata"); in sections_osx_onAddImage()
226 auto ehsect = getSection(h, slide, "__DATA", "__deh_eh"); in sections_osx_onAddImage()
236 auto tlssect = getSection(h, slide, "__DATA", "__tls_data"); in sections_osx_onAddImage()
243 auto tlssect2 = getSection(h, slide, "__DATA", "__tlscoal_nt"); in sections_osx_onAddImage()
261 ubyte[] getSection(in mach_header* header, intptr_t slide, in getSection() function
/netbsd-src/external/apache2/llvm/dist/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-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()
/netbsd-src/external/apache2/llvm/dist/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()
363 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()
H A DELF_x86_64.cpp324 auto StrTabSec = Obj.getSection(SecRef.sh_link); in createNormalizedSymbols()
442 auto UpdateSection = Obj.getSection(SecRef.sh_info); in addRelocations()
541 auto StrTabSec = Obj.getSection(SecRef.sh_link); in graphifyRegularSymbols()
635 auto DefinedSection = Obj.getSection(SymRef.st_shndx); in graphifyRegularSymbols()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h190 Section &getSection() const { return Parent; } in getSection() function
730 B->getSection().addBlock(*B); in createBlock()
995 Content.getSection().addSymbol(Sym); in addAnonymousSymbol()
1011 Content.getSection().addSymbol(Sym); in addDefinedSymbol()
1072 Section &Sec = Sym.getBlock().getSection(); in makeExternal()
1094 Section &Sec = Sym.getBlock().getSection(); in makeAbsolute()
1122 Content.getSection().addSymbol(Sym); in makeDefined()
1183 Sym.getBlock().getSection().removeSymbol(Sym); in removeDefinedSymbol()
1189 assert(llvm::none_of(B.getSection().symbols(), in removeBlock()
1194 B.getSection().removeBlock(B); in removeBlock()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp32 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DMachOUtils.cpp226 getSection(const object::MachOObjectFile &Obj, in getSection() function
229 return Obj.getSection(LCI, Idx); in getSection()
233 getSection(const object::MachOObjectFile &Obj, in getSection() function
291 auto Sect = getSection(Obj, Segment, LCI, i); in transferSegmentAndSections()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Delf2yaml.cpp153 Obj.getSection(*Sym, SymTab, ShndxTables.lookup(SymTab)); in getUniquedSymbolName()
316 const Elf_Shdr *LinkedSymTab = cantFail(Obj.getSection(Sec.sh_link)); in dump()
689 auto ShdrOrErr = Obj.getSection(*Sym, SymTab, ShndxTables.lookup(SymTab)); in dumpSymbol()
722 auto StrTabSec = Obj.getSection(SymTab->sh_link); in dumpRelocation()
762 Expected<const Elf_Shdr *> LinkSection = Obj.getSection(Shdr->sh_link); in dumpCommonSection()
789 auto InfoSection = Obj.getSection(Shdr->sh_info); in dumpCommonRelocationSection()
1058 auto SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelocSection()
1302 auto StringTableShdrOrErr = Obj.getSection(Shdr->sh_link); in dumpVerdefSection()
1383 auto StringTableShdrOrErr = Obj.getSection(Shdr->sh_link); in dumpVerneedSection()
1432 auto SymtabOrErr = Obj.getSection(SymtabNdx); in getSymbolName()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp57 MCSection &Section = Sym.getSection(); in getRelocType()
/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCSectionELF.h92 return &LinkedToSym->getSection(); in getLinkedToSection()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/gcc/sections/
H A Dmacho.d650 auto sect = getSection(info.header, info.slide, e.seg.ptr, e.sect.ptr); in scanSegments()
657 void[] text = getSection(info.header, info.slide, "__TEXT", "__text"); in scanSegments()
717 ubyte[] getSection(in mach_header* header, intptr_t slide, in getSection() function
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DGlobalValue.h267 bool hasSection() const { return !getSection().empty(); } in hasSection()
268 StringRef getSection() const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp47 StringRef Section = GVA->getSection(); in isGlobalInSmallSection()

12345