| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | ELFObjectFile.h | 535 return getSection(Sec)->sh_flags; in getSectionFlags() 540 return getSection(Sec)->sh_type; in getSectionType() 545 return getSection(Sec)->sh_offset; in getSectionOffset() 824 const Elf_Shdr *ESec = getSection(Sec); in moveSectionNext() 835 return getSection(Sec)->sh_addr; in getSectionAddress() 846 return getSection(Sec) - First; in getSectionIndex() 851 return getSection(Sec)->sh_size; in getSectionSize() 857 const Elf_Shdr *EShdr = getSection(Sec); in getSectionContents() 870 return getSection(Sec)->sh_addralign; in getSectionAlignment() 885 const Elf_Shdr *EShdr = getSection(Sec); in isSectionData() [all …]
|
| H A D | ELF.h | 372 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym, 375 Expected<const Elf_Shdr *> getSection(const Elf_Sym &Sym, 378 Expected<const Elf_Shdr *> getSection(uint32_t Index) const; 404 getSection(typename ELFT::ShdrRange Sections, uint32_t Index) { in getSection() function 452 return getSection(Sym, *SymsOrErr, ShndxTable); in getSection() 465 return getSection(Index); in getSection() 842 auto SecOrErr = getSection(Section); in getEntry() 1071 ELFFile<ELFT>::getSection(uint32_t Index) const { in getSection() function 1075 return object::getSection<ELFT>(*TableOrErr, Index); in getSection() 1160 object::getSection<ELFT>(Sections, Sec.sh_link); in getStringTableForSymtab() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetObjectFile.cpp | 129 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() 399 if (GVar->hasSection() && isSmallDataSection(GVar->getSection())) in selectSmallSectionForGlobal()
|
| /llvm-project-15.0.7/llvm/tools/llvm-jitlink/ |
| H A D | llvm-jitlink-elf.cpp | 32 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 D | llvm-jitlink-macho.cpp | 34 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()
|
| H A D | llvm-jitlink-coff.cpp | 32 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()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLink.cpp | 98 << ", 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 D | JITLinkMemoryManager.cpp | 42 if (LHS->getSection().getOrdinal() != RHS->getSection().getOrdinal()) in BasicLayout() 43 return LHS->getSection().getOrdinal() < RHS->getSection().getOrdinal(); in BasicLayout()
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | AsmDump.cpp | 103 if (&JT->getSection() != LastBS) { in dumpJumpTableSymbols() 105 LastBS = &JT->getSection(); in dumpJumpTableSymbols() 117 if (&BD->getSection() != LastBS) { in dumpBinaryDataSymbols() 119 LastBS = &BD->getSection(); in dumpBinaryDataSymbols()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinaryData.cpp | 73 StringRef BinaryData::getSectionName() const { return getSection().getName(); } in getSectionName() 85 return Address - getSection().getAddress(); in getOffset()
|
| H A D | JumpTable.cpp | 85 BinaryContext &BC = getSection().getBinaryContext(); in updateOriginal() 86 const uint64_t BaseOffset = getAddress() - getSection().getAddress(); in updateOriginal()
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | JITLink.h | 215 Section &getSection() const { return *Parent; } in getSection() function 841 B->getSection().addBlock(*B); in createBlock() 1139 Content.getSection().addSymbol(Sym); in addAnonymousSymbol() 1155 Content.getSection().addSymbol(Sym); in addDefinedSymbol() 1218 Section &Sec = Sym.getBlock().getSection(); in makeExternal() 1244 Section &Sec = Sym.getBlock().getSection(); in makeAbsolute() 1273 Content.getSection().addSymbol(Sym); in makeDefined() 1299 if (&DestBlock.getSection() != &OldSection) { in transferDefinedSymbol() 1301 DestBlock.getSection().addSymbol(Sym); in transferDefinedSymbol() 1313 auto &OldSection = B.getSection(); in transferBlock() [all …]
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | InputFiles.cpp | 172 const coff_section *ObjFile::getSection(uint32_t i) { in getSection() function in ObjFile 173 auto sec = coffObj->getSection(i); in getSection() 191 const coff_section *sec = getSection(i); in initializeChunks() 202 const coff_section *sec = getSection(sectionNumber); in readSection() 295 const coff_section *parentSec = getSection(parentIndex); in readAssociativeDefinition() 531 if (leaderChunk->getSize() != getSection(sym)->SizeOfRawData) { in handleComdatSelection() 546 SectionChunk newChunk(this, getSection(sym)); in handleComdatSelection() 563 if (leaderChunk->getSize() < getSection(sym)->SizeOfRawData) { in handleComdatSelection() 1114 const coff_section *sec = CHECK(coffObj->getSection(i), file); in isRVACode()
|
| H A D | InputFiles.h | 216 const coff_section* getSection(uint32_t i); 217 const coff_section *getSection(COFFSymbolRef sym) { in getSection() function 218 return getSection(sym.getSectionNumber()); in getSection()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Globals.cpp | 139 setSection(Src->getSection()); in copyAttributesFrom() 171 StringRef GlobalValue::getSection() const { in getSection() function in GlobalValue 175 return GO->getSection(); in getSection() 178 return cast<GlobalObject>(this)->getSection(); in getSection()
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 61 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() 355 unwrapOrError(Elf.getSection(Shdr.sh_link), FileName); in printSymbolVersionInfo()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64MachObjectWriter.cpp | 137 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()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetObjectFile.cpp | 32 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | FunctionTest.cpp | 130 EXPECT_TRUE(F->getSection() == ".text.test"); in TEST() 136 EXPECT_TRUE(F->getSection() == ".text.test2"); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DirectXAsmPrinter.cpp | 47 if (GV->getSection() == "llvm.metadata") in emitGlobalVariable()
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | BinaryData.h | 127 BinarySection &getSection() { return *Section; } in getSection() function 128 const BinarySection &getSection() const { return *Section; } in getSection() function
|
| /llvm-project-15.0.7/llvm/unittests/Object/ |
| H A D | ELFObjectFileTest.cpp | 438 Expected<const typename ELF64LE::Shdr *> SymtabSecOrErr = Elf.getSection(1); in TEST() 458 EXPECT_THAT_ERROR(BrokenSym.getSection().takeError(), in TEST() 522 Elf.getSection(1); in TEST() 683 ElfOrErr->getELFFile().getSection(1); in TEST() 699 ElfOrErr->getELFFile().getSection(1); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCObjectWriter.cpp | 50 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/MCTargetDesc/ |
| H A D | BPFELFObjectWriter.cpp | 58 MCSection &Section = Sym.getSection(); in getRelocType()
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | MachOUtils.cpp | 228 getSection(const object::MachOObjectFile &Obj, in getSection() function 231 return Obj.getSection(LCI, Idx); in getSection() 235 getSection(const object::MachOObjectFile &Obj, in getSection() function 293 auto Sect = getSection(Obj, Segment, LCI, i); in transferSegmentAndSections()
|