)]}'
{
  "commit": "b12165e41580c6a22aa84ff1ed359637ee896be1",
  "tree": "161190f34cafdce3698bf76a7cef0ea878961e70",
  "parents": [
    "da428eb4893dbb1403634ab0fed96a9a0cab9836"
  ],
  "author": {
    "name": "Derek Mauro",
    "email": "dmauro@google.com",
    "time": "Sun Jul 05 18:45:24 2020 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Nov 20 11:14:11 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: 319705387\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"
    }
  ]
}
