)]}'
{
  "commit": "85e76ec53ae4e5caea5a13b084c19ba4e2f3a6ce",
  "tree": "10ac5419973058f75a17cf1b0d32e848d6cf4e2a",
  "parents": [
    "f431b45638ecb29f838dd4c314aac36f8a30480b"
  ],
  "author": {
    "name": "Wael Yehia",
    "email": "wmyehia2001@yahoo.com",
    "time": "Mon Aug 17 19:59:42 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Aug 17 19:59:42 2026 -0400"
  },
  "message": "[Driver] Treat -O4 as -O3 in clang::getOptimizationLevel, which is called when building LTO link command (#216450)\n\n#169762 (commit e60a69ab8a9e7) replaced the -O option handling in\n`tools::addLTOOptions` with `getOptimizationLevel()`, but\n`getOptimizationLevel` doesn\u0027t expect -O4, while `addLTOOptions` used to\naccept and without diagnostics. Teach `getOptimizationLevel` about -O4\nand don\u0027t diagnose to revert to the old behavior.\n\n---------\n\nCo-authored-by: Wael Yehia \u003cwyehia@ca.ibm.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "70fc346d859208be66eaf2c00a383ac5a7efc6c1",
      "old_mode": 33188,
      "old_path": "clang/lib/Frontend/CompilerInvocation.cpp",
      "new_id": "9359848d3a29b82cb305d554d80342ad5dc14b0f",
      "new_mode": 33188,
      "new_path": "clang/lib/Frontend/CompilerInvocation.cpp"
    },
    {
      "type": "modify",
      "old_id": "c9ee2f9c2622324ba51c1e1fc815e4ff134dadcb",
      "old_mode": 33188,
      "old_path": "clang/test/Driver/lto.c",
      "new_id": "838eb7408637523eeae5825f84cbad7d5b76016e",
      "new_mode": 33188,
      "new_path": "clang/test/Driver/lto.c"
    }
  ]
}
