diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2021-12-05 10:08:19 -0500 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-12-05 10:26:35 -0500 |
| commit | 26063d39546ccd6d0b9d42defc2ad1bb8d35cc27 (patch) | |
| tree | 385f99a442896c952ad31de5f67c8ee85514abc2 /spec/ruby/core/array/append_spec.rb | |
| parent | bbfefd45c6c99c4371cc0789bdd1da9ea3ade701 (diff) | |
YJIT: Initialize code buffer with PUSH DS
PUSH DS triggers the #UD processor exception in 64-bit mode, which the
OS translates to a SIGILL. Unlike INT3, this triggers the usual crash
reporter, which makes failures easier to notice. When there is a
debugger attached, the PUSH DS pauses execution just like INT3.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5217
Diffstat (limited to 'spec/ruby/core/array/append_spec.rb')
0 files changed, 0 insertions, 0 deletions
