================
@@ -4911,6 +4911,35 @@ static void ProcessVSRuntimeLibrary(const ToolChain &TC,
const ArgList &Args,
CmdArgs.push_back("--dependent-lib=oldnames");
}
+ // SYCL: Add SYCL runtime library dependency
+ // SYCL runtime is a required dependency similar to CRT, so we use
+ // --dependent-lib to embed it in the object file metadata
+ if (Args.hasFlag(options::OPT_fsycl, options::OPT_fno_sycl, false) &&
----------------
sarnex wrote:
Thanks, I am not qualified to suggest any other solutions either
https://github.com/llvm/llvm-project/pull/194744
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits