)]}'
{
  "commit": "2b0b2caa44833de42dace04e681c4e5e79402231",
  "tree": "725acb1b7d3d3f51b23d77f0b5625cd55aa28754",
  "parents": [
    "ea27a7ae9048367bde15246b248f856803efc674"
  ],
  "author": {
    "name": "Simon Marchi",
    "email": "simon.marchi@polymtl.ca",
    "time": "Wed May 20 14:19:28 2026 -0400"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Thu May 21 13:45:15 2026 -0400"
  },
  "message": "gdb/dwarf: change signatured_type_up to include deleter type\n\nWe currently have:\n\n  using dwarf2_per_cu_up \u003d std::unique_ptr\u003cdwarf2_per_cu, dwarf2_per_cu_deleter\u003e;\n  using signatured_type_up \u003d std::unique_ptr\u003csignatured_type\u003e;\n\nMeaning that it\u0027s not possible to pass a signatured_type_up as a\ndwarf2_per_cu_up, even though the target types are related (it is\npossible to pass a `signatured_type *` as a `dwarf2_per_cu *`).\n\nIf we give signatured_type_up the same deleter as dwarf2_per_cu_up, then\nit becomes possible to pass a signatured_type_up as a dwarf2_per_cu_up.\nThis lets us avoid releasing a signatured_type_up only to create a\ndwarf2dwarf2_per_cu_up immediately after in some spots.  The only\ndownside is that we can\u0027t use make_unique anymore, but it\u0027s already the\ncase for dwarf2_per_cu_up.\n\nSwap the order of things in add_type_unit so that we don\u0027t need a\nspecial holder variable.\n\nChange-Id: Iee34e5d1711d601297f109e58cbaeccb5a0c6cde\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "30ad0b21f2da37ba16c5f4595f8342def396be7f",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/read-debug-names.c",
      "new_id": "dfa54f7914a286c18e0fd34b946482322639d998",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/read-debug-names.c"
    },
    {
      "type": "modify",
      "old_id": "48d1200270be698e645cffe6911b2f08878faa71",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/read-gdb-index.c",
      "new_id": "e0f527b7503ecc663771c5a5936cf1322bbd5908",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/read-gdb-index.c"
    },
    {
      "type": "modify",
      "old_id": "f8ade564b0ba8dd18995262e41857bae8ce1f75d",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/read.c",
      "new_id": "883b068ad8aec1372f8b201614701d869326c8e4",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/read.c"
    },
    {
      "type": "modify",
      "old_id": "12dc6224d8c0867683a27b10036e93d08b73c5e3",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/read.h",
      "new_id": "fd6ee1b8b800014a56099278980f3319e469be4a",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/read.h"
    }
  ]
}
