)]}'
{
  "commit": "c6747d98397de4b906935a00ef3549ef58218380",
  "tree": "3a5fa3019ff494cf41de45099cfd79d43cba4e2c",
  "parents": [
    "ba18c78e46968726769813b68adb19466e092812"
  ],
  "author": {
    "name": "Adrian Ratiu",
    "email": "adrian.ratiu@collabora.corp-partner.google.com",
    "time": "Wed Jul 14 14:39:20 2021 +0300"
  },
  "committer": {
    "name": "swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Jul 19 11:13:09 2021 +0000"
  },
  "message": "Backport LLVM fix for mallinfo deprecation\n\nThis backports the following LLVM commit with a few\nSwiftShader specific modifications, like testing for\n__GLIBC__ because SwiftShader is used within Chrome\nand built via GN bypassing cmake and not doing any\nbuild time autodetection.\n\nBug: b/192875071\nTest: Local builds on ChromeOS with glibc 2.32 \u0026 2.33\n\nOriginal commit message:\n\nFix deprecated usage of `mallinfo`\n\nglibc deprecates `mallinfo` in the latest version of 2.33. This patch replaces the usage of `mallinfo` with the new `mallinfo2` when it\u0027s available.\n\nReviewed By: lattner\n\nDifferential Revision: https://reviews.llvm.org/D96359\n\nChange-Id: Ib6253231279a2995acb685cf0a1f606dbe9b2f2b\nReviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/55828\nKokoro-Result: kokoro \u003cnoreply+kokoro@google.com\u003e\nReviewed-by: Nicolas Capens \u003cnicolascapens@google.com\u003e\nReviewed-by: Antonio Maiorano \u003camaiorano@google.com\u003e\nPresubmit-Ready: Nicolas Capens \u003cnicolascapens@google.com\u003e\nCommit-Queue: Adrian Ratiu \u003cadrian.ratiu@collabora.corp-partner.google.com\u003e\nTested-by: Adrian Ratiu \u003cadrian.ratiu@collabora.corp-partner.google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3a59a7692990728f3bf0dbc9ce116d41de7b1f62",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "7bf5787cdc2df782028662360379fe3f5e9f98b3",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "ac4b3e303b6afc5cde8ced96e5ec2cdb4e458a26",
      "old_mode": 33188,
      "old_path": "third_party/llvm-10.0/configs/linux/include/llvm/Config/config.h",
      "new_id": "24bdc67bb21e63cf7ad6b605f5792bc5526794a1",
      "new_mode": 33188,
      "new_path": "third_party/llvm-10.0/configs/linux/include/llvm/Config/config.h"
    },
    {
      "type": "modify",
      "old_id": "1a38bc15ab9d6696833149803c25948b5c6307d4",
      "old_mode": 33188,
      "old_path": "third_party/llvm-10.0/llvm/include/llvm/Config/config.h.cmake",
      "new_id": "10aa51ff0df3ce6f1ca5df6749669efc805bcfd3",
      "new_mode": 33188,
      "new_path": "third_party/llvm-10.0/llvm/include/llvm/Config/config.h.cmake"
    },
    {
      "type": "modify",
      "old_id": "dfe81d7e28337a1579ec74800db177d95e8b6be7",
      "old_mode": 33188,
      "old_path": "third_party/llvm-10.0/llvm/lib/Support/Unix/Process.inc",
      "new_id": "1159a13f31d19dd43f17989bbae76a6513ef8366",
      "new_mode": 33188,
      "new_path": "third_party/llvm-10.0/llvm/lib/Support/Unix/Process.inc"
    },
    {
      "type": "modify",
      "old_id": "2f860e12869e2591d5b74fdf358de54dafec5b38",
      "old_mode": 33188,
      "old_path": "third_party/llvm-subzero/build/Linux/include/llvm/Config/config.h",
      "new_id": "0ffd1bf7758b9382985a77b2c4ffcd75b4f0292f",
      "new_mode": 33188,
      "new_path": "third_party/llvm-subzero/build/Linux/include/llvm/Config/config.h"
    },
    {
      "type": "modify",
      "old_id": "b2390466409204a8a88dc4ea164e9efe97cdd4ea",
      "old_mode": 33188,
      "old_path": "third_party/llvm-subzero/lib/Support/Unix/Process.inc",
      "new_id": "1a767bcbd5b94fc5f9bd4e0135c981be80f4687d",
      "new_mode": 33188,
      "new_path": "third_party/llvm-subzero/lib/Support/Unix/Process.inc"
    }
  ]
}
