[clang] [clang-sycl-linker] Generate SymbolTable for each image (PR #161287)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 30 07:46:30 PDT 2025


================
@@ -523,12 +545,13 @@ Error runSYCLLink(ArrayRef<std::string> Files, const ArgList &Args) {
         return createFileError(File, EC);
     }
     OffloadingImage TheImage{};
-    TheImage.TheImageKind = IMG_Object;
+    TheImage.TheImageKind = IMG_None;
----------------
sarnex wrote:

yeah i agree, ideally this field should be accurate

https://github.com/llvm/llvm-project/pull/161287


More information about the cfe-commits mailing list