Yury Plyakhin 81f445b7df
[clang-sycl-linker][offload] Set TheImageKind based on IsAOTCompileNeeded flag (#180269)
Previously, TheImageKind was set to IMG_None and relied on a runtime
heuristic to determine the correct image type. This commit sets it
explicitly to IMG_Object for AOT-compiled images and IMG_SPIRV for
SPIR-V images based on the IsAOTCompileNeeded flag.

Also it adds test for this change, which required minor changes in
OffloadBinary and OffloadDump.
2026-02-11 10:21:22 -08:00
..
2024-09-15 16:04:42 -07:00
2025-10-31 11:15:19 -07:00
O.c
p.c
2024-07-23 21:57:21 -07:00
2025-05-08 09:08:46 -07:00