)]}'
{
  "commit": "9e15d3d6cc19ae4703f3ad7fa413a789580ec1fc",
  "tree": "6cac551d00710ccbb99b832e3fbe722c87159272",
  "parents": [
    "71330b939f8b6b92d7f1b0a83e04c1288583737b"
  ],
  "author": {
    "name": "kgotlinux",
    "email": "60880393+kgotlinux@users.noreply.github.com",
    "time": "Fri Sep 04 07:12:55 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Sep 04 07:14:01 2026 -0700"
  },
  "message": "PR #2147: Fix FreeBSD/PowerPC* issues\n\nImported from GitHub PR https://github.com/abseil/abseil-cpp/pull/2147\n\nFixes two issues on FreeBSD PowerPC architectures:\n\n1. UnscaledCycleClock::Frequency():\n   The `kern.timecounter.tc.timebase.frequency` sysctl is registered in the\n   FreeBSD kernel as CTLTYPE_U64 (uint64_t). Previously, sysctlbyname() read\n   directly into a `double` variable without type conversion, causing the raw\n   integer bits to be reinterpreted as a double.\n\n2. StacktracePowerPCGetLRPtr():\n   When compiler ABI macros are absent, the unwinder falls back to OS checks.\n   Previously, __FreeBSD__ was grouped with __APPLE__ to read the saved Link\n   Register at sp[2]. While sp[2] (offset 16) is correct for 64-bit ELF / AIX /\n   Darwin, the 32-bit PowerPC SysV ELF ABI saves the LR at sp[1] (offset 4).\n   Fix by keying the fallback on __PPC64__ for 64-bit (sp[2]) versus __linux__\n   and __FreeBSD__ for 32-bit (sp[1]).\n\nMerge 8f4431186a50594b7dced86835d4b0a5be708dd6 into 2adadbc666a2da417194f73694346f41969e0777\n\nMerging this change closes #2147\n\nPiperOrigin-RevId: 976301714\nChange-Id: I584c7231e5071cde514a02c082a49f829a414963\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9e931808412feb4e3bcbc27f7a08612b65d2ceee",
      "old_mode": 33188,
      "old_path": "absl/base/internal/unscaledcycleclock.cc",
      "new_id": "28fe66e0fddb3a4b9e8781d315c8cdee9f871042",
      "new_mode": 33188,
      "new_path": "absl/base/internal/unscaledcycleclock.cc"
    },
    {
      "type": "modify",
      "old_id": "f23c29cb0a0126e7a24e0f03c5a2a39bc607567f",
      "old_mode": 33188,
      "old_path": "absl/debugging/internal/stacktrace_powerpc-inl.inc",
      "new_id": "a20a71585abd852dd30278492681877ee6789d33",
      "new_mode": 33188,
      "new_path": "absl/debugging/internal/stacktrace_powerpc-inl.inc"
    }
  ]
}
