)]}'
{
  "commit": "82b4d7e7dfa8df4d89866ecad222df84d28fde62",
  "tree": "3d891e337de99a7c9a9590ff3717e2f9e2157095",
  "parents": [
    "c7b767467d30232644882c10478af3e48fc4da6c"
  ],
  "author": {
    "name": "FuzzTest Team",
    "email": "fuzztest@google.com",
    "time": "Thu Nov 19 08:36:27 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Tue Nov 24 07:05:31 2026 -0800"
  },
  "message": "Define `__sancov_lowest_stack`, add missing weak SanitizerCoverage stubs, and disable SanitizerCoverage on `weak_sancov_stubs`.\n\nPreviously, `extern \"C\" __attribute__((weak)) thread_local uintptr_t __sancov_lowest_stack;`\nused the unbraced `extern \"C\"` form, which C++ treats as an `extern` declaration rather\nthan a definition, leaving `__sancov_lowest_stack` undefined when linking targets without\na sanitizer runtime (such as WebAssembly targets linked with `wasm-ld`). In addition,\ndefining the `__sanitizer_cov_*` stubs with `(void)` parameter lists caused `wasm-ld`\nfunction signature mismatch warnings against LLVM\u0027s SanitizerCoverage instrumentation,\nand `weak_sancov_stubs` lacked `DISABLE_SANCOV_COPTS`.\n\nWrap `__sancov_lowest_stack` in a braced `extern \"C\" { ... }` block (guarded by\n`#if !defined(_WIN32)` for Windows COFF/DLL compatibility) so it is emitted as a weak\ndefinition without an explicit initializer, update the stub parameter types to match\nLLVM\u0027s SanitizerCoverage ABI, add the missing `__sanitizer_cov_store{1,2,4,8,16}` and\n`__sanitizer_cov_trace_pc{,_entry,_exit}` weak stubs, and pass `DISABLE_SANCOV_COPTS`\non `weak_sancov_stubs`.\n\nPiperOrigin-RevId: 1025620017\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e7c3fafddd878d65ef125a6d19f446579bd1254b",
      "old_mode": 33188,
      "old_path": "centipede/BUILD",
      "new_id": "f271a6ffb7a00f6edee6402670110e54e8a1a83e",
      "new_mode": 33188,
      "new_path": "centipede/BUILD"
    },
    {
      "type": "modify",
      "old_id": "66f78a66cdc7f7d6b428a5dbd6c7a839b9dc2698",
      "old_mode": 33188,
      "old_path": "centipede/weak_sancov_stubs.cc",
      "new_id": "bead611809c0d248997f7b0b46c3f530ae9c4786",
      "new_mode": 33188,
      "new_path": "centipede/weak_sancov_stubs.cc"
    }
  ]
}
