| /freebsd-12.1/contrib/llvm/include/llvm/Object/ |
| H A D | ELFObjectFile.h | 449 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 D | ELF.h | 248 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 D | MachO.h | 307 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 D | ObjectFile.h | 176 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 D | HexagonTargetObjectFile.cpp | 131 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 D | Globals.cpp | 129 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 D | AArch64MachObjectWriter.cpp | 138 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 D | AMDGPUTargetObjectFile.cpp | 36 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objcopy/ELF/ |
| H A D | Object.cpp | 562 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 D | MCObjectWriter.cpp | 49 const MCSection &SecA = SymA.getSection(); in isSymbolRefDifferenceFullyResolvedImpl()
|
| H A D | MCCodeView.cpp | 485 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 D | WasmObjectWriter.cpp | 405 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 D | ELFObjectWriter.cpp | 671 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 D | BPFELFObjectWriter.cpp | 61 MCSection &Section = A->getSymbol().getSection(); in getRelocType()
|
| /freebsd-12.1/contrib/llvm/include/llvm/MC/ |
| H A D | MCSectionELF.h | 89 const MCSection *getAssociatedSection() const { return &AssociatedSymbol->getSection(); } in getAssociatedSection()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | GlobalValue.h | 270 bool hasSection() const { return !getSection().empty(); } in hasSection() 271 StringRef getSection() const;
|
| H A D | GlobalObject.h | 90 StringRef getSection() const { in getSection() function
|
| /freebsd-12.1/contrib/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetObjectFile.cpp | 85 if (GVA->getSection().startswith(".ldata")) in isGlobalInSmallSectionImpl()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyWasmObjectWriter.cpp | 68 return &SyExp->getSymbol().getSection(); in GetFixupSection()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfFile.cpp | 42 MCSection *S = TheU->getSection(); in emitUnit()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMMachObjectWriter.cpp | 367 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 D | RuntimeDyldMachO.h | 133 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() function
|
| /freebsd-12.1/contrib/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 306 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 D | RISCVMCExpr.cpp | 111 if (&Target.getSymA()->getSymbol().getSection() != in evaluatePCRelLo()
|
| /freebsd-12.1/contrib/llvm/lib/Object/ |
| H A D | IRSymtab.cpp | 286 if (!Base->getSection().empty()) in addSymbol() 287 setStr(Uncommon().SectionName, Saver.save(Base->getSection())); in addSymbol()
|