)]}'
{
  "commit": "100b05d99cf417a3e09371ae6731d17d0e97ba7c",
  "tree": "e5ebc174795ccec8639ec38ace100f4e13c65f25",
  "parents": [
    "9898204d91d6a60b6a08ad74fe4ac52a6913111b"
  ],
  "author": {
    "name": "Levi Zim",
    "email": "rsworktech@outlook.com",
    "time": "Mon May 18 21:21:48 2026 +0800"
  },
  "committer": {
    "name": "swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed May 27 07:53:37 2026 -0700"
  },
  "message": "Fix MacOS build with LLVM 16\n\nAdd missing sys/resources.h to fix Chromium build with swiftshader with\nLLVM 16.\n\n[878/74241] CXX obj/third_party/swiftshader/third_party/llvm-16.0/swiftshader_llvm_source_set_0/CrashRecoveryContext.o\n../../third_party/swiftshader/third_party/llvm-16.0/llvm/lib/Support/CrashRecoveryContext.cpp:479:15: error: use of undeclared identifier \u0027PRIO_DARWIN_THREAD\u0027\n  479 |   setpriority(PRIO_DARWIN_THREAD, 0, PRIO_DARWIN_BG);\n      |               ^~~~~~~~~~~~~~~~~~\n../../third_party/swiftshader/third_party/llvm-16.0/llvm/lib/Support/CrashRecoveryContext.cpp:479:38: error: use of undeclared identifier \u0027PRIO_DARWIN_BG\u0027\n  479 |   setpriority(PRIO_DARWIN_THREAD, 0, PRIO_DARWIN_BG);\n      |                                      ^~~~~~~~~~~~~~\n../../third_party/swiftshader/third_party/llvm-16.0/llvm/lib/Support/CrashRecoveryContext.cpp:485:22: error: use of undeclared identifier \u0027PRIO_DARWIN_THREAD\u0027\n  485 |   return getpriority(PRIO_DARWIN_THREAD, 0) \u003d\u003d 1;\n      |                      ^~~~~~~~~~~~~~~~~~\n3 errors generated.\n\nChange-Id: Idf1d95496b1fa093c21214acbcf94fd50f3967d0\nReviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/77308\nKokoro-Result: kokoro \u003cnoreply+kokoro@google.com\u003e\nTested-by: Geoff Lang \u003cgeofflang@google.com\u003e\nReviewed-by: Shahbaz Youssefi \u003csyoussefi@google.com\u003e\nReviewed-by: Geoff Lang \u003cgeofflang@google.com\u003e\nCommit-Queue: Geoff Lang \u003cgeofflang@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e96a9b59d834749e5a6d786a3747b3e8eb3059b5",
      "old_mode": 33188,
      "old_path": "third_party/llvm-16.0/llvm/lib/Support/CrashRecoveryContext.cpp",
      "new_id": "5ccb2a03ea02774ec946fa1c3d7a8bda781a6dbf",
      "new_mode": 33188,
      "new_path": "third_party/llvm-16.0/llvm/lib/Support/CrashRecoveryContext.cpp"
    }
  ]
}
