LLVM 22.0.0git
|
Functions | |
LLVM_ABI Error | containerizeOpenMPSPIRVImage (std::unique_ptr< MemoryBuffer > &Binary) |
Containerizes an offloading binary into the ELF binary format expected by the Intel runtime offload plugin. | |
Error llvm::offloading::intel::containerizeOpenMPSPIRVImage | ( | std::unique_ptr< MemoryBuffer > & | Binary | ) |
Containerizes an offloading binary into the ELF binary format expected by the Intel runtime offload plugin.
Definition at line 379 of file Utility.cpp.
References llvm::createStringError(), llvm::ELF::ELFCLASS64, llvm::ELF::ELFDATA2LSB, llvm::ELF::EM_IA_64, llvm::ELF::ET_DYN, llvm::MemoryBuffer::getMemBufferCopy(), Name, llvm::ELF::SHT_NOTE, llvm::ELF::SHT_PROGBITS, llvm::Error::success(), llvm::ELFYAML::Section::Type, UINT64_MAX, and llvm::yaml::yaml2elf().