From ee705717a087ec5ee03ed114e948b162ae04129f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 19 May 2026 02:09:39 +0000 Subject: [PATCH 1/2] Initial plan From e11f308806f03ae7515802ad3182bbc08d99e182 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 19 May 2026 02:13:15 +0000 Subject: [PATCH 2/2] test: stub SYCL registration hooks in sycl time-trace link test Agent-Logs-Url: https://github.com/intel/llvm/sessions/c44f92b0-7275-4106-9e4d-09e280b9725e Co-authored-by: srividya-sundaram <8020274+srividya-sundaram@users.noreply.github.com> --- clang/test/Driver/sycl-time-trace-actual.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clang/test/Driver/sycl-time-trace-actual.cpp b/clang/test/Driver/sycl-time-trace-actual.cpp index 5e42c6fb1e811..08f4288babbfd 100644 --- a/clang/test/Driver/sycl-time-trace-actual.cpp +++ b/clang/test/Driver/sycl-time-trace-actual.cpp @@ -76,6 +76,11 @@ // CHECK-COLLISION-DAG: dir2-test-sycl-spir64-unknown-unknown.json // Minimal SYCL code for testing +// Provide stub runtime registration hooks so link mode works in this +// driver-only test environment without pulling in the SYCL runtime. +extern "C" void __sycl_register_lib(void *) {} +extern "C" void __sycl_unregister_lib(void *) {} + int main() { return 0; }