)]}'
{
  "commit": "d9cdf27834de94a7c6f5b66b28c0e6667fec5418",
  "tree": "32712c0186e61805793e30e92e208549fc35d602",
  "parents": [
    "5f84b6edd97153f1e5ec00ce110108ba8f6048bd"
  ],
  "author": {
    "name": "Aniket Lal",
    "email": "lalaniket8@gmail.com",
    "time": "Mon Feb 10 13:57:52 2025 +0530"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Feb 10 13:57:52 2025 +0530"
  },
  "message": "[Driver][HIP] Do not pass -dependency-file flag for HIP Device offloading (#125646)\n\nWhen we launch hipcc with multiple offload architectures along with -MF\r\ndep_file flag, the clang compilation invocations for host and device\r\noffloads write to the same dep_file, and can lead to collision during\r\nfile IO operations. This can typically happen during large workloads.\r\nThis commit provides a fix to generate dep_file only in host\r\ncompilation.\r\n\r\n---------\r\n\r\nCo-authored-by: anikelal \u003canikelal@amd.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fe879e8f8bd2773d41770e1490d292cd945b21e1",
      "old_mode": 33188,
      "old_path": "clang/lib/Driver/ToolChains/Clang.cpp",
      "new_id": "82f4cabd620d77fbb29fb057b231576d887d58be",
      "new_mode": 33188,
      "new_path": "clang/lib/Driver/ToolChains/Clang.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d26faf7242f915d7ddec9eb69b39beafb5e1c6a9",
      "new_mode": 33188,
      "new_path": "clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip"
    }
  ]
}
