)]}'
{
  "commit": "f8b357e36d3316db4cd77741d4f6d2f8d6143c09",
  "tree": "9c6e430bdbfa59cd2b41b63437bfa0979b471a6c",
  "parents": [
    "4305d48094cc9a1e11e3a394f8d8e475a0bef2f7"
  ],
  "author": {
    "name": "Derek Mauro",
    "email": "dmauro@google.com",
    "time": "Fri Nov 20 11:42:23 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Nov 20 11:44:58 2026 -0800"
  },
  "message": "Enable -Wglobal-constructors and -Wexit-time-destructors in Clang builds\n\nChromium disallows static initializers and exit-time destructors across linked libraries.\n\nEnable `-Wglobal-constructors` and `-Wexit-time-destructors` via `--per_file_copt` in `.bazelrc` for Clang configurations outside of tests, benchmarks, TSan, and the two allowlisted flag-defining files (`absl/flags/parse.cc` and `absl/log/flags.cc`). Fix the remaining violations by replacing the global `absl::Mutex` in `absl/flags/usage.cc` with `absl::NoDestructor\u003cabsl::Mutex\u003e`, deferring `TimerResolution()` initialization in `absl/random/internal/nanobenchmark.cc` to first call, and suppressing `-Wexit-time-destructors` on the intentional `thread_local` thread-exit reclaimer in `absl/base/internal/thread_identity.cc`.\n\nPiperOrigin-RevId: 1026637249\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c64b255be47f76e8c66a8de93f6a636e5500196d",
      "old_mode": 33188,
      "old_path": ".bazelrc",
      "new_id": "bd30e94064485e9e14f368d8b124949700730d56",
      "new_mode": 33188,
      "new_path": ".bazelrc"
    },
    {
      "type": "modify",
      "old_id": "a9d38d30cf1291a6575cf722e02ada3062eac9dd",
      "old_mode": 33188,
      "old_path": "absl/base/internal/thread_identity.cc",
      "new_id": "d537d8a4b55416b4364edc862c7a4d9142c5363a",
      "new_mode": 33188,
      "new_path": "absl/base/internal/thread_identity.cc"
    },
    {
      "type": "modify",
      "old_id": "4dbf97560c5a066212508795bb1b837defd81528",
      "old_mode": 33188,
      "old_path": "absl/flags/BUILD.bazel",
      "new_id": "480aa5826f675d205a81d857bb53dc252a120e50",
      "new_mode": 33188,
      "new_path": "absl/flags/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "46e7524bf3b7df89ac53be926629e4ab7cdbe9e7",
      "old_mode": 33188,
      "old_path": "absl/flags/usage.cc",
      "new_id": "d8099b2a3f729f702290180de2c176ddc31e3607",
      "new_mode": 33188,
      "new_path": "absl/flags/usage.cc"
    },
    {
      "type": "modify",
      "old_id": "08e7f15f05b44b8e1bbb12b3e3932108c7fb29c5",
      "old_mode": 33188,
      "old_path": "absl/random/internal/nanobenchmark.cc",
      "new_id": "db673d91a23a3bb09790c2febf2446a5ba8e2245",
      "new_mode": 33188,
      "new_path": "absl/random/internal/nanobenchmark.cc"
    }
  ]
}
