)]}'
{
  "commit": "8544a41622d446adbc1e2ca5ee1206d60f5b2d2c",
  "tree": "c3a9034e0833ec8d1961fbc47034f0214c19dbf1",
  "parents": [
    "77f460c9fd42d91a886b637f31ea2d3e267255c3"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tom@tromey.com",
    "time": "Sat Jan 24 14:56:16 2026 -0700"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tom@tromey.com",
    "time": "Tue Apr 07 11:36:09 2026 -0600"
  },
  "message": "Remove C++ special case from process_imported_unit_die\n\nprocess_imported_unit_die has a special case for C++, added as a\nperformance improvement.\n\nWhile I somewhat agree with the general idea of this snippet --\nimporting a compilation unit seems like a strange thing to do, given\nthat partial units exist -- I think there are two issues with it.\n\nFirst, it is specific to C++.  I don\u0027t see any real reason that this\nshould be the case.\n\nSecond, it does not have a corresponding bit of code in the indexer.\nThis means that the cooked index\u0027s view of the DWARF differs from the\nfull reader\u0027s view here.  This causes regressions in this series,\nbecause the indexer assumes that reading a CU will cause all the\nimported CUs to be read as a side effect -- but that does not happen\nhere.\n\nI think fixing this in the indexer is not trivial.  The reason for\nthis is that the indexer works in parallel, and once a reader has\nacquired the \"scan\" bit for a CU, it is obligated to read it.\nHowever, in this case this would require making a new cooked indexer.\n\nInstead, because (1) this is weird and rare DWARF anyway, and (2) this\nis just a performance optimization, I propose removing this.\n\nAcked-By: Tom de Vries \u003ctdevries@suse.de\u003e\nApproved-By: Simon Marchi \u003csimark@simark.ca\u003e\n\n\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a9796daa6dd92d50dc709253a1e4e3a152027488",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/read.c",
      "new_id": "ebf6133e38fcddec6742c57cbc47239826f8074a",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/read.c"
    }
  ]
}
