| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 29 auto DynamicEntriesOrError = Elf.dynamicEntries(); in getDynamicStrTab() 35 auto MappedAddrOrError = Elf.toMappedAddr(Dyn.getPtr()); in getDynamicStrTab() 43 auto SectionsOrError = Elf.sections(); in getDynamicStrTab() 49 return Elf.getStringTableForSymtab(Sec); in getDynamicStrTab() 174 auto DynamicEntriesOrErr = Elf.dynamicEntries(); in printDynamicSection() 192 std::string Str = Elf.getDynamicTagAsString(Dyn.d_tag); in printDynamicSection() 200 Expected<StringRef> StrTabOrErr = getDynamicStrTab(Elf); in printDynamicSection() 343 static void printSymbolVersionInfo(const ELFFile<ELFT> &Elf, in printSymbolVersionInfo() argument 346 unwrapOrError(Elf.sections(), FileName); in printSymbolVersionInfo() 353 unwrapOrError(Elf.getSectionContents(Shdr), FileName); in printSymbolVersionInfo() [all …]
|
| H A D | llvm-objdump.cpp | 439 const auto *Elf = dyn_cast<ELFObjectFileBase>(&Obj); in isAArch64Elf() local 440 return Elf && Elf->getEMachine() == ELF::EM_AARCH64; in isAArch64Elf() 444 const auto *Elf = dyn_cast<ELFObjectFileBase>(&Obj); in isArmElf() local 445 return Elf && Elf->getEMachine() == ELF::EM_ARM; in isArmElf() 449 const auto *Elf = dyn_cast<ELFObjectFileBase>(&Obj); in isCSKYElf() local 450 return Elf && Elf->getEMachine() == ELF::EM_CSKY; in isCSKYElf() 1389 if (const auto *Elf = dyn_cast<ELFObjectFileBase>(&Obj)) { in disassembleObject() local 1974 const auto *Elf = dyn_cast<ELFObjectFileBase>(Obj); in printDynamicRelocations() local 1975 if (!Elf || !any_of(Elf->sections(), [](const ELFSectionRef Sec) { in printDynamicRelocations() 2524 if (const auto *Elf = dyn_cast<ELFObjectFileBase>(Obj)) { in shouldWarnForInvalidStartStopAddress() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | ObjectYAML.cpp | 25 if (ObjectFile.Elf) in mapping() 26 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping() 44 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping() 45 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
|
| H A D | yaml2obj.cpp | 37 if (Doc.Elf) in convertYAML() 38 return yaml2elf(*Doc.Elf, Out, ErrHandler, MaxSize); in convertYAML()
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | AMDGPUMetadataTest.cpp | 71 raw_svector_ostream OutStream(Elf); in SetUp() 84 SmallString<1024> Elf; member in llvm::AMDGPUSelectionDAGTest 92 EXPECT_NE(Elf.find("Vulkan"), std::string::npos); in TEST_F()
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/src/ |
| H A D | rtl.cpp | 1575 Elf *E = elf_memory(ImgBegin, ImgSize); in elfEFlags() 1604 Elf64_Shdr *findOnlyShtHash(Elf *Elf) { in findOnlyShtHash() argument 1606 int Rc = elf_getshdrnum(Elf, &N); in findOnlyShtHash() 1613 Elf_Scn *Scn = elf_getscn(Elf, I); in findOnlyShtHash() 1631 const Elf64_Sym *elfLookup(Elf *Elf, char *Base, Elf64_Shdr *SectionHash, in elfLookup() argument 1673 int getSymbolInfoWithoutLoading(Elf *Elf, char *Base, const char *Symname, in getSymbolInfoWithoutLoading() argument 1675 if (elf_kind(Elf) != ELF_K_ELF) { in getSymbolInfoWithoutLoading() 1679 Elf64_Shdr *SectionHash = findOnlyShtHash(Elf); in getSymbolInfoWithoutLoading() 1715 Elf *Elf = elf_memory(Base, ImgSize); in getSymbolInfoWithoutLoading() local 1716 if (Elf) { in getSymbolInfoWithoutLoading() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Object/ |
| H A D | ELFObjectFileTest.cpp | 435 const ELFFile<ELF64LE> &Elf = ElfOrErr->getELFFile(); in TEST() local 438 Expected<const typename ELF64LE::Shdr *> SymtabSecOrErr = Elf.getSection(1); in TEST() 482 Elf.getEntry<typename ELF64LE::Sym>(**SymtabSecOrErr, 0), Succeeded()); in TEST() 484 Elf.getEntry<typename ELF64LE::Sym>(**SymtabSecOrErr, BrokenSymIndex) in TEST() 519 const ELFFile<ELF64LE> &Elf = ElfOrErr->getELFFile(); in TEST() local 522 Elf.getSection(1); in TEST() 524 EXPECT_THAT_ERROR(Elf.decodeBBAddrMap(**BBAddrMapSecOrErr).takeError(), in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/ |
| H A D | ObjectYAML.h | 31 std::unique_ptr<ELFYAML::Object> Elf; member
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/ |
| H A D | check-output-order.test | 14 # CHECK: Elf file type is DYN (Shared object file)
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | ppc64-toc-rel.s | 18 # global variable as described by the PPC64 Elf V2 abi.
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/generic-elf-64bit/src/ |
| H A D | rtl.cpp | 148 Elf *E = elf_memory((char *)Image->ImageStart, ImageSize); in __tgt_rtl_load_binary()
|
| /llvm-project-15.0.7/compiler-rt/include/profile/ |
| H A D | MemProfData.inc | 57 // Linux-Elf is implemented.
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | MemProfData.inc | 57 // Linux-Elf is implemented.
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/impl/ |
| H A D | system.cpp | 170 Elf *e = elf_memory(static_cast<char *>(binary), binSize); in find_metadata()
|