diff options
| author | Eileen <eileencodes@users.noreply.github.com> | 2025-04-08 12:52:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-08 12:52:49 -0400 |
| commit | 5aa05f179c028981950cb5f40112ce058c5a40cd (patch) | |
| tree | 4966db1302f4f90acd9d631f884697f6b36a982a /test/ruby | |
| parent | b68fe530f1880ed314099b61a70e3c0b1ee7cf6d (diff) | |
Fix lldb debug scripts (#13048)
In ruby/ruby#13008 `RVALUE` was removed without replacement. This means
the lldb scripts that relied on `RVALUE` stopped working.
I updated the ones that were using it just for the bytesize to use
`slot_size` and then round to the nearest power of 40. We can't use
`slot_size` directly because in debug mode it's `48` but `RVALUE` is
`40` bytes.
For the `as_type` method, I updated it to check the type. It's only used
for `bignum` and `array` so that's a simple change.
Lastly, for the `dump_page` method I replaced it with `struct free_slot`
since that's looking at the freelist.
`struct RVALUE` has been removed from all the scripts and I verified
that `rp` is fixed. I'm not confident the `dump_page` method is fixed,
the freelist looks off, but for now this gets us closer.
Notes
Notes:
Merged-By: eileencodes <eileencodes@gmail.com>
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
