)]}'
{
  "commit": "ef5d264e5328d59382111886802386138c8c1ff1",
  "tree": "01d55acda079b65c56bfd9f39de6f9fa12364d59",
  "parents": [
    "85e01ff2d0143a90d8c2cb389ff76ad544b2dc7f"
  ],
  "author": {
    "name": "Yury Plyakhin",
    "email": "yury.plyakhin@intel.com",
    "time": "Fri May 15 08:18:53 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri May 15 08:18:53 2026 -0700"
  },
  "message": "[clang-sycl-linker] Remove dead and unnecessary check for no symbols image (#197596)\n\nThe `if (SI.Symbols.empty()) continue;` guard in `runSYCLLink` was\nunreachable: `collectEntryPoints` always calls\n`llvm::offloading::sycl::writeSymbolTable`, which emits at least a\n4-byte `SymbolTableHeader` (`Count\u003d0`) even when the input has no entry\npoints.\nThe check could never fire and was misleading suggesting that modules\nwithout kernels would be dropped.\nI checked other similar tools and did not find logic to filter out\nimages, if there are no entry points. This doesn\u0027t look like\nresponsibility of clang-sycl-linker.\nIf this scenario is required, we can consider adding it later with a\nproper check.\n\n---------\n\nCo-authored-by: Alexey Bader \u003calexey.bader@intel.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "958dc031b68992484064ef857ecade8a1a344e00",
      "old_mode": 33188,
      "old_path": "clang/test/Tooling/clang-sycl-linker.ll",
      "new_id": "de863ed8a6aef10884542a47afd3f726c86e521e",
      "new_mode": 33188,
      "new_path": "clang/test/Tooling/clang-sycl-linker.ll"
    },
    {
      "type": "modify",
      "old_id": "f8c66f164754bd6b4a0536f174976cc43ba44ad8",
      "old_mode": 33188,
      "old_path": "clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp",
      "new_id": "c6bbe6d42058d989b410bde1ba466c9d3e237919",
      "new_mode": 33188,
      "new_path": "clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp"
    }
  ]
}
