Searched refs:getSection (Results 1 - 25 of 111) sorted by relevance

12345

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp35 StringRef SectionName = GO->getSection();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectWriter.cpp48 const MCSection &SecA = SymA.getSection();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp99 << ", section = " << B.getSection().getName();
134 OS << " " << Sym.getBlock().getSection().getName();
167 ? createZeroFillBlock(B.getSection(), SplitIndex, B.getAddress(),
170 B.getSection(), B.getContent().substr(0, SplitIndex),
203 for (auto *Sym : B.getSection().symbols())
H A DJITLinkGeneric.cpp180 auto &SegLists = Layout[B->getSection().getProtectionFlags()];
192 if (LHS->getSection().getOrdinal() != RHS->getSection().getOrdinal())
193 return LHS->getSection().getOrdinal() < RHS->getSection().getOrdinal();
H A DELF_x86_64.cpp95 auto StrTabSec = Obj.getSection(SecRef.sh_link);
206 auto UpdateSection = Obj.getSection(SecRef.sh_info);
284 auto StrTabSec = Obj.getSection(SecRef.sh_link);
329 auto DefinedSection = Obj.getSection(SymRef.st_shndx);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp130 TRACE("input section(" << GO->getSection() << ") ");
168 << GO->getSection() << ") ");
180 StringRef Section = GO->getSection();
182 return getContext().getELFSection(GO->getSection(), ELF::SHT_PROGBITS,
185 return getContext().getELFSection(GO->getSection(), ELF::SHT_PROGBITS,
218 bool IsSmall = isSmallDataSection(GVar->getSection());
220 << ", has section: " << GVar->getSection() << '\n');
398 if (GVar->hasSection() && isSmallDataSection(GVar->getSection()))
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h309 auto RelSecOrErr = EF.getSection(Rel.d.a);
412 const Elf_Shdr *getSection(DataRefImpl Sec) const { function in class:llvm::object::ELFObjectFile
460 auto SymTabOrErr = EF.getSection(Sym.d.a);
464 auto StrTabOrErr = EF.getSection(SymTableSec->sh_link);
487 return getSection(Sec)->sh_flags;
492 return getSection(Sec)->sh_type;
497 return getSection(Sec)->sh_offset;
534 auto SymTabOrErr = EF.getSection(Symb.d.a);
540 auto SectionOrErr = EF.getSection(ESym, SymTab, ShndxTable);
685 auto ESecOrErr = EF.getSection(ESy
[all...]
H A DELF.h296 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym,
299 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym,
302 Expected<const Elf_Shdr *> getSection(uint32_t Index) const;
325 getSection(typename ELFT::ShdrRange Sections, uint32_t Index) { function in namespace:llvm::object
367 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab, function in class:llvm::object::ELFFile
372 return getSection(Sym, *SymsOrErr, ShndxTable);
377 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, Elf_Sym_Range Symbols, function in class:llvm::object::ELFFile
385 return getSection(Index);
605 auto SecOrErr = getSection(Section);
630 ELFFile<ELFT>::getSection(uint32_ function in class:llvm::object::ELFFile
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp57 MCSection &Section = Sym.getSection();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionELF.h87 return &LinkedToSym->getSection();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetObjectFile.cpp47 StringRef Section = GVA->getSection();
/freebsd-13-stable/contrib/llvm-project/lld/COFF/
H A DInputFiles.h218 const coff_section* getSection(uint32_t i);
219 const coff_section *getSection(COFFSymbolRef sym) { function in class:lld::coff::ObjFile
220 return getSection(sym.getSectionNumber());
H A DInputFiles.cpp201 const coff_section *ObjFile::getSection(uint32_t i) { function in class:ObjFile
202 auto sec = coffObj->getSection(i);
204 fatal("getSection failed: #" + Twine(i) + ": " + toString(sec.takeError()));
220 const coff_section *sec = getSection(i);
231 const coff_section *sec = getSection(sectionNumber);
315 const coff_section *parentSec = getSection(parentIndex);
538 if (leaderChunk->getSize() != getSection(sym)->SizeOfRawData)
543 SectionChunk newChunk(this, getSection(sym));
560 if (leaderChunk->getSize() < getSection(sym)->SizeOfRawData) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp137 const MCSectionMachO &RefSec = cast<MCSectionMachO>(Symbol.getSection());
317 const MCSection &Sec = Symbol->getSection();
356 const MCSection &Sec = Symbol->getSection();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp130 setSection(Src->getSection());
162 StringRef GlobalValue::getSection() const { function in class:GlobalValue
166 return GO->getSection();
169 return cast<GlobalObject>(this)->getSection();
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp61 auto SecOrErr = EF.getSection(Rel.d.a);
90 Expected<section_iterator> SymSI = SI->getSection();
94 Obj->getSection((*SymSI)->getRawDataRefImpl());
343 unwrapOrError(Elf->getSection(Shdr.sh_link), FileName);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetObjectFile.cpp83 if (GVA->getSection().startswith(".ldata"))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfFile.cpp41 MCSection *S = TheU->getSection();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyWasmObjectWriter.cpp49 return &SyExp->getSymbol().getSection();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h105 /// This is more efficient than calling getSection() and checking for an empty
115 StringRef getSection() const { function in class:llvm::GlobalObject
H A DGlobalValue.h267 bool hasSection() const { return !getSection().empty(); }
268 StringRef getSection() const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.h132 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } function in class:llvm::RuntimeDyldMachO
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp111 StringRef Section = GVA->getSection();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h180 Section &getSection() const { return Parent; }
680 B->getSection().addBlock(*B);
893 Content.getSection().addSymbol(Sym);
904 Content.getSection().addSymbol(Sym);
959 Section &Sec = Sym.getBlock().getSection();
992 Sym.getBlock().getSection().removeSymbol(Sym);
998 assert(llvm::none_of(B.getSection().symbols(),
1003 B.getSection().removeBlock(B);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp130 (GV.getSection().startswith("__DATA,__objc_classlist") ||
131 GV.getSection().startswith("__DATA,__objc_selrefs")))

Completed in 239 milliseconds

12345