)]}'
{
  "commit": "eafbab6facb0627e11757efb1eae98f806387b55",
  "tree": "68e45af8481ede0998f3663ed28e9bfb22683cb8",
  "parents": [
    "283806695a6deeacd5d3eaf88becec2b627ab56f"
  ],
  "author": {
    "name": "Yingwei Zheng",
    "email": "dtcxzyw2333@gmail.com",
    "time": "Wed Jan 01 15:02:08 2025 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Jan 01 15:02:08 2025 +0800"
  },
  "message": "[EntryExitInstrumenter][AArch64][RISCV][LoongArch] Pass `__builtin_return_address(0)` into `_mcount` (#121107)\n\nOn RISC-V, AArch64, and LoongArch, the `_mcount` function takes\r\n`__builtin_return_address(0)` as an argument since\r\n`__builtin_return_address(1)` is not available on these platforms. This\r\npatch fixes the argument passing to match the behavior of glibc/gcc.\r\n\r\nCloses https://github.com/llvm/llvm-project/issues/121103.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "47bb31905d1ac8da1b9b9526466b81e0495cf659",
      "old_mode": 33188,
      "old_path": "llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp",
      "new_id": "5b33edd51cffa6b780b02ec300091ab533e4ead8",
      "new_mode": 33188,
      "new_path": "llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0f8cf5c7354539a3aa35468e71f2c77f3c31e747",
      "new_mode": 33188,
      "new_path": "llvm/test/Transforms/EntryExitInstrumenter/mcount-with-frompc.ll"
    }
  ]
}
