)]}'
{
  "commit": "dffdd706f32e7a5309d893cbfe63aea2297f0156",
  "tree": "535b05b026a6c8476535517318848071f2ed980f",
  "parents": [
    "805493c32cf5cf6757335c2ed452f39eedbed50d",
    "c38cf3787e4178d54c36e365384a462fc2bf6185"
  ],
  "author": {
    "name": "Jonathan Brouwer",
    "email": "jonathantbrouwer@gmail.com",
    "time": "Tue Nov 17 18:00:53 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Nov 17 18:00:53 2026 +0100"
  },
  "message": "Rollup merge of #164975 - Walnut356:unsized_vis, r\u003ddavidtwco\n\nAdd wide pointer visualizer for LLDB\n\nThis visualizer handles wide pointers to `?Sized` types, e.g.\n\n```\nstruct S {\n    a: u8,\n    b: [i16]\n}\n```\n\nThese were undecidable not too long ago, but we [now have enough information to reliably visualize these properly](https://github.com/rust-lang/rust/pull/153238).\n\nlldb 23 added the ability for an `SBValue` object to acquire its parent, which is very helpful for this so we can retrieve the length. Prior to lldb 22, the best option we have is to store a reference to the parent wide pointer within python itself and retrieve them in the child\u0027s visualizer (this happens via `WidePtrSyntheticProvider.WIDE_PTR_BY_UNSIZED_CHILD_ID`. I know it\u0027s maybe a bit hack-y, but this is semi-canonical and CodeLLDB did it pretty extensively in their visualizers). Using that method, we are thankfully able to get identical output between lldb 22 and 23.\n\nAs a note, this visualizer *does not* work for MSVC at the moment because [LLDB pretends zero-sized fields in PDB debug info don\u0027t exist](https://github.com/llvm/llvm-project/issues/235686) \u003d)\n",
  "tree_diff": []
}
