diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2024-11-07 11:46:35 -0500 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2024-11-08 10:06:47 -0500 |
| commit | d1969474e9762d2ca293efadce0f68da0c2137c0 (patch) | |
| tree | cefc756ffc1261ea74fc5edfc41ab43d3c996f47 /include/ruby | |
| parent | fbe35bcc825fbae215f6ff283731f5e2f4a55a88 (diff) | |
YJIT: Pass panic message to rb_bug()
So that the Rust panic message is forwarded to the RUBY_CRASH_REPORT
system, instead of only the static "YJIT panicked" message done so
previously. This helps with triaging crashes since it's easier than
trying to parse stderr output.
Sample:
<internal:yjit_hook>:2: [BUG] YJIT: panicked at src/codegen.rs:1197:5:
explicit panic
...
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12027
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions
