Home
last modified time | relevance | path

Searched refs:ElfMagic (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DELF.cpp60 if (memcmp(Buffer.data(), ELF::ElfMagic, strlen(ELF::ElfMagic)) != 0) { in jitLink_ELF()
/external/llvm/include/llvm/Support/
DELF.h46 static const char ElfMagic[] = { 0x7f, 'E', 'L', 'F', '\0' }; variable
79 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic()
103 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DELF.h46 static const char ElfMagic[] = {0x7f, 'E', 'L', 'F', '\0'}; variable
79 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic()
103 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DELF.h43 static const char ElfMagic[] = {0x7f, 'E', 'L', 'F', '\0'}; variable
77 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic()
103 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic()
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DELF.h43 static const char ElfMagic[] = {0x7f, 'E', 'L', 'F', '\0'}; variable
77 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic()
103 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic()
/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.cpp158 return memcmp(magic, ElfMagic, strlen(ElfMagic)) == 0; in MagicBytesMatch()
/external/llvm-project/llvm/lib/InterfaceStub/
DELFObjHandler.cpp55 ElfHeader.e_ident[EI_MAG0] = ElfMagic[EI_MAG0]; in initELFHeader()
56 ElfHeader.e_ident[EI_MAG1] = ElfMagic[EI_MAG1]; in initELFHeader()
57 ElfHeader.e_ident[EI_MAG2] = ElfMagic[EI_MAG2]; in initELFHeader()
58 ElfHeader.e_ident[EI_MAG3] = ElfMagic[EI_MAG3]; in initELFHeader()
/external/llvm/include/llvm/Object/
DELFTypes.h488 return (memcmp(e_ident, ELF::ElfMagic, strlen(ELF::ElfMagic))) == 0;
/external/llvm-project/llvm/include/llvm/Object/
DELFTypes.h472 return (memcmp(e_ident, ELF::ElfMagic, strlen(ELF::ElfMagic))) == 0;
/external/swiftshader/third_party/subzero/src/
DIceELFObjectWriter.cpp476 Str.writeBytes(llvm::StringRef(ElfMagic, strlen(ElfMagic))); in writeELFHeaderInternal()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELFTypes.h474 return (memcmp(e_ident, ELF::ElfMagic, strlen(ELF::ElfMagic))) == 0;
/external/llvm/lib/MC/
DELFObjectWriter.cpp313 writeBytes(ELF::ElfMagic); // e_ident[EI_MAG0] to e_ident[EI_MAG3] in writeHeader()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DELFObjectWriter.cpp418 W.OS << ELF::ElfMagic; // e_ident[EI_MAG0] to e_ident[EI_MAG3] in writeHeader()
/external/llvm-project/llvm/lib/MC/
DELFObjectWriter.cpp418 W.OS << ELF::ElfMagic; // e_ident[EI_MAG0] to e_ident[EI_MAG3] in writeHeader()
/external/llvm-project/lld/ELF/
DInputFiles.cpp82 if (!mb.getBuffer().startswith(ElfMagic)) in getELFKind()