-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt unwinder for Ruby 3.2.x strings
Variable Width Allocation https://bugs.ruby-lang.org/issues/18239 changes the layout of strings in Ruby. The new layout for embedded strings: ``` /* 16 */ struct { /* 16 | 8 */ long len; /* 24 | 1 */ char ary[1]; /* XXX 7-byte padding */ /* total size (bytes): 16 */ } embed; ``` We need to account for the length, that was not present as its own field before. Signed-off-by: Francisco Javier Honduvilla Coto <javierhonduco@gmail.com>
- Loading branch information
1 parent
414d1df
commit f32d265
Showing
1 changed file
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters