| 239 | } |
| 240 | |
| 241 | static bool IsCodeObjectElf(const void* image) { |
| 242 | const amd::Elf64_Ehdr* ehdr = reinterpret_cast<const amd::Elf64_Ehdr*>(image); |
| 243 | return ehdr->e_machine == EM_AMDGPU && ehdr->e_ident[EI_OSABI] == ELFOSABI_AMDGPU_HSA; |
| 244 | } |
| 245 | |
| 246 | static bool UncompressAndPopulateCodeObject( |
| 247 | const void* image, const std::set<std::string>& unique_isa_names, |
no outgoing calls
no test coverage detected