Home
last modified time | relevance | path

Searched refs:getObj (Results 1 – 13 of 13) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/lld/ELF/
HDInputFiles.cpp338 const ELFFile<ELFT> &obj = getObj<ELFT>(); in init()
369 this->getObj().getSectionIndex(&sym, getELFSyms<ELFT>(), shndxTable), in getSectionIndex()
475 ArrayRef<Elf_Shdr> sections = CHECK(this->getObj().sections(), this); in initializeJustSymbols()
540 const ELFFile<ELFT> &obj = this->getObj(); in initializeSections()
844 ArrayRef<uint8_t> contents = check(this->getObj().getSectionContents(&sec)); in createInputSection()
862 CHECK(this->getObj().template getSectionContentsAsArray<char>(&sec), this); in createInputSection()
916 ArrayRef<Elf_Rela> rels = CHECK(getObj().relas(&sec), this); in createInputSection()
921 ArrayRef<Elf_Rel> rels = CHECK(getObj().rels(&sec), this); in createInputSection()
967 ArrayRef<uint8_t> contents = check(this->getObj().getSectionContents(&sec)); in createInputSection()
1023 return CHECK(getObj().getSectionName(&sec, sectionStringTable), this); in getSectionName()
[all …]
HDInputFiles.h159 template <typename ELFT> llvm::object::ELFFile<ELFT> getObj() const { in getObj() function
195 llvm::object::ELFFile<ELFT> getObj() const { in getObj() function
196 return this->ELFFileBase::getObj<ELFT>(); in getObj()
HDInputSection.cpp54 return check(file.getObj().getSectionContents(&hdr)); in getSectionContents()
449 CHECK(file->getObj().sections(), file)[secIdx]; in copyRelocations()
451 CHECK(file->getObj().getSectionName(&sec), file) + in copyRelocations()
HDRelocations.cpp465 check(file.template getObj<ELFT>().program_headers())) in isReadOnly()
658 CHECK(file->getObj().sections(), file); in maybeReportDiscarded()
664 file->getObj().getSectionName(&objSections[sym.discardedSecIdx]), file); in maybeReportDiscarded()
HDDriver.cpp1521 check(obj->getObj().getSectionContents(obj->addrsigSec)); in findKeepUniqueSections()
/freebsd-11-stable/contrib/llvm-project/lld/ELF/Arch/
HDMipsArchTree.cpp300 v.push_back({f, cast<ObjFile<ELFT>>(f)->getObj().getHeader()->e_flags}); in calcMipsEFlags()
365 return ef->template getObj<ELFT>().getHeader()->e_flags & EF_MIPS_ABI2; in isN32Abi()
HDAMDGPU.cpp44 return cast<ObjFile<ELF64LE>>(file)->getObj().getHeader()->e_flags; in getEFlags()
HDRISCV.cpp106 return cast<ObjFile<ELF64LE>>(f)->getObj().getHeader()->e_flags; in getEFlags()
107 return cast<ObjFile<ELF32LE>>(f)->getObj().getHeader()->e_flags; in getEFlags()
HDMips.cpp374 if (f->getObj().getHeader()->e_flags & EF_MIPS_PIC) in needsThunk()
749 return file->getObj().getHeader()->e_flags & EF_MIPS_PIC; in isMipsPIC()
HDHexagon.cpp67 uint32_t eflags = cast<ObjFile<ELF32LE>>(f)->getObj().getHeader()->e_flags; in calcEFlags()
HDPPC64.cpp351 return cast<ObjFile<ELF64BE>>(file)->getObj().getHeader()->e_flags; in getEFlags()
352 return cast<ObjFile<ELF64LE>>(file)->getObj().getHeader()->e_flags; in getEFlags()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
HDDumpOutputStyle.h76 object::COFFObjectFile &getObj();
HDDumpOutputStyle.cpp72 object::COFFObjectFile &DumpOutputStyle::getObj() { return File.obj(); } in getObj() function in DumpOutputStyle
1371 for (const auto &S : getObj().sections()) { in dumpTypesFromObjectFile()