Home
last modified time | relevance | path

Searched refs:ELF64LE (Results 1 – 25 of 43) sorted by relevance

12

/llvm-project-15.0.7/llvm/unittests/Object/
H A DELFObjectFileTest.cpp333 Expected<ELFObjectFile<ELF64LE>> ExpectedFile = toBinary<ELF64LE>(Storage, R"( in TEST()
355 Expected<ELFObjectFile<ELF64LE>> ExpectedFile = toBinary<ELF64LE>(Storage, R"( in TEST()
422 Expected<ELFObjectFile<ELF64LE>> ElfOrErr = toBinary<ELF64LE>(Storage, R"( in TEST()
516 Expected<ELFObjectFile<ELF64LE>> ElfOrErr = in TEST()
517 toBinary<ELF64LE>(Storage, YamlString); in TEST()
678 Expected<ELFObjectFile<ELF64LE>> ElfOrErr = in TEST()
679 toBinary<ELF64LE>(Storage, YamlString); in TEST()
694 Expected<ELFObjectFile<ELF64LE>> ElfOrErr = in TEST()
695 toBinary<ELF64LE>(Storage, YamlString); in TEST()
767 Expected<ELFObjectFile<ELF64LE>> ElfOrErr = in TEST()
[all …]
H A DELFTypesTest.cpp47 NoteTestData<ELF64LE> TestData; in TEST()
H A DXCOFFObjectFileTest.cpp21 char Buf[sizeof(typename ELF64LE::Ehdr)] = {}; in TEST()
24 auto *EHdr = reinterpret_cast<typename ELF64LE::Ehdr *>(Buf); in TEST()
/llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/
H A Drelr-section.yaml12 # RUN: obj2yaml %t.64le | FileCheck %s --check-prefix=ELF64LE
16 # ELF64LE: Sections:
17 # ELF64LE-NEXT: - Name: .relr.dyn
18 # ELF64LE-NEXT: Type: SHT_RELR
19 # ELF64LE-NEXT: Entries: [ 0x8877665544332211 ]
/llvm-project-15.0.7/bolt/unittests/Core/
H A DBinaryContext.cpp33 ELF64LE::Ehdr *EHdr = reinterpret_cast<typename ELF64LE::Ehdr *>(ElfBuf); in prepareElf()
47 char ElfBuf[sizeof(typename ELF64LE::Ehdr)] = {};
H A DMCPlusBuilder.cpp43 ELF64LE::Ehdr *EHdr = reinterpret_cast<typename ELF64LE::Ehdr *>(ElfBuf); in prepareElf()
71 char ElfBuf[sizeof(typename ELF64LE::Ehdr)] = {};
/llvm-project-15.0.7/llvm/unittests/ObjectYAML/
H A DELFYAMLTest.cpp35 Expected<ELFObjectFile<ELF64LE>> ExpectedFile = toBinary<ELF64LE>(Storage, R"( in TEST()
76 const ELFObjectFile<ELF64LE> &File = *ExpectedFile; in TEST()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DELF_x86_64.cpp105 class ELFLinkGraphBuilder_x86_64 : public ELFLinkGraphBuilder<object::ELF64LE> {
107 using ELFT = object::ELF64LE;
256 const object::ELFFile<object::ELF64LE> &Obj) in ELFLinkGraphBuilder_x86_64()
342 auto &ELFObjFile = cast<object::ELFObjectFile<object::ELF64LE>>(**ELFObj); in createLinkGraphFromELFObject_x86_64()
H A DELF_aarch64.cpp542 auto &ELFObjFile = cast<object::ELFObjectFile<object::ELF64LE>>(**ELFObj); in createLinkGraphFromELFObject_aarch64()
543 return ELFLinkGraphBuilder_aarch64<object::ELF64LE>((*ELFObj)->getFileName(), in createLinkGraphFromELFObject_aarch64()
H A DELF_riscv.cpp567 auto &ELFObjFile = cast<object::ELFObjectFile<object::ELF64LE>>(**ELFObj); in createLinkGraphFromELFObject_riscv()
568 return ELFLinkGraphBuilder_riscv<object::ELF64LE>( in createLinkGraphFromELFObject_riscv()
/llvm-project-15.0.7/lld/ELF/Arch/
H A DAMDGPU.cpp47 return cast<ObjFile<ELF64LE>>(file)->getObj().getHeader().e_flags; in getEFlags()
112 uint8_t abiVersion = cast<ObjFile<ELF64LE>>(ctx->objectFiles[0]) in calcEFlags()
H A DMipsArchTree.cpp376 return isN32Abi<ELF64LE>(f); in isMipsN32Abi()
393 template uint32_t elf::calcMipsEFlags<ELF64LE>();
H A DMips.cpp789 template TargetInfo *elf::getMipsTargetInfo<ELF64LE>();
794 template bool elf::isMipsPIC<ELF64LE>(const Defined *);
/llvm-project-15.0.7/lld/ELF/
H A DInputSection.cpp1430 template InputSection::InputSection(ObjFile<ELF64LE> &, const ELF64LE::Shdr &,
1437 template void InputSection::writeTo<ELF64LE>(uint8_t *);
1442 template RelsOrRelas<ELF64LE> InputSectionBase::relsOrRelas<ELF64LE>() const;
1449 template MergeInputSection::MergeInputSection(ObjFile<ELF64LE> &,
1450 const ELF64LE::Shdr &, StringRef);
1458 template EhInputSection::EhInputSection(ObjFile<ELF64LE> &,
1459 const ELF64LE::Shdr &, StringRef);
1465 template void EhInputSection::split<ELF64LE>();
H A DOutputSections.cpp673 template void OutputSection::writeHeaderTo<ELF64LE>(ELF64LE::Shdr *Shdr);
678 template void OutputSection::writeTo<ELF64LE>(uint8_t *Buf);
683 template void OutputSection::maybeCompress<ELF64LE>();
H A DSyntheticSections.cpp525 addSectionAux<ELF64LE>(sec); in finalizeContents()
3916 template void elf::splitSections<ELF64LE>();
3921 template class elf::MipsAbiFlagsSection<ELF64LE>;
3926 template class elf::MipsOptionsSection<ELF64LE>;
3940 template class elf::MipsReginfoSection<ELF64LE>;
3945 template class elf::DynamicSection<ELF64LE>;
3950 template class elf::RelocationSection<ELF64LE>;
3960 template class elf::RelrSection<ELF64LE>;
3965 template class elf::SymbolTableSection<ELF64LE>;
3970 template class elf::VersionNeedSection<ELF64LE>;
[all …]
H A DDWARF.cpp147 template class elf::LLDDwarfObj<ELF64LE>;
H A DTarget.cpp72 return getMipsTargetInfo<ELF64LE>(); in getTarget()
H A DInputFiles.cpp245 return getSrcMsgAux(cast<ObjFile<ELF64LE>>(*this), sym, sec, offset); in getSrcMsg()
311 init<ELF64LE>(); in ELFFileBase()
1225 return isNonCommonDef<ELF64LE>(mb, symName, archiveName); in isNonCommonDef()
1724 f = make<ObjFile<ELF64LE>>(mb, archiveName); in createObjFile()
1776 template void BitcodeFile::parse<ELF64LE>();
1781 template class elf::ObjFile<ELF64LE>;
1786 template void SharedFile::parse<ELF64LE>();
H A DMarkLive.cpp403 template void elf::markLive<ELF64LE>();
/llvm-project-15.0.7/bolt/include/bolt/Rewrite/
H A DRewriteInstance.h268 if (auto *ELF64LE = dyn_cast<object::ELF64LEObjectFile>(InputFile)) \
269 return FUNC(ELF64LE); \
/llvm-project-15.0.7/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp303 } else if (isa<ELFObjectFile<ELF64LE>>(&InputFile)) { in addSectionsFromLinkedData()
304 Expected<ELFObjectFile<ELF64LE>> MemFile = ELFObjectFile<ELF64LE>::create( in addSectionsFromLinkedData()
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DELFDump.cpp135 if (auto *ELF64LE = dyn_cast<ELF64LEObjectFile>(Obj)) in getELFRelocationValueString() local
136 return getRelocationValueString(ELF64LE, Rel, Result); in getELFRelocationValueString()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DRewriteInstance.cpp344 const ELFFile<ELF64LE> &Obj = ELF64LEFile->getELFFile(); in RewriteInstance()
423 const ELFFile<ELF64LE> &Obj = ELF64LEFile->getELFFile(); in discoverStorage()
433 ELF64LE::PhdrRange PHs = PHsOrErr.get(); in discoverStorage()
434 for (const ELF64LE::Phdr &Phdr : PHs) { in discoverStorage()
1804 if (auto *ELF64LE = dyn_cast<ELF64LEObjectFile>(Obj)) in getRelocationAddend() local
1805 return getRelocationAddend(ELF64LE, Rel); in getRelocationAddend()
1838 if (auto *ELF64LE = dyn_cast<ELF64LEObjectFile>(Obj)) in getRelocationSymbol() local
1839 return getRelocationSymbol(ELF64LE, Rel); in getRelocationSymbol()
3926 ELF64LE::Phdr NewPhdr = Phdr; in patchELFPHDRTable()
3949 ELF64LE::Phdr NewTextPhdr = createNewTextPhdr(); in patchELFPHDRTable()
[all …]
/llvm-project-15.0.7/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp699 } else if (auto Obj = dyn_cast<ELFObjectFile<ELF64LE>>(Bin)) { in readELFFile()
724 return writeELFBinaryToFile<ELF64LE>(FilePath, Stub, WriteIfChanged); in writeBinaryStub()

12