diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2022-08-08 14:49:46 -0400 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-08-29 08:47:08 -0700 |
| commit | a3757842752e78a5f53b5dfcdcf9601c037f8c76 (patch) | |
| tree | 0125b93a821aef45458d9ff70c9bde7a676fa91a /include/ruby | |
| parent | 726a4519550fd9191833e482122e3c7bf9a468be (diff) | |
Use new assembler to support global invalidation on A64
Previously, we patched in an x64 JMP even on A64, which resulted in
invalid machine code. Use the new assembler to generate a jump instead.
Add an assert to make sure patches don't step on each other since it's
less clear cut on A64, where the size of the jump varies depending on
its placement relative to the target.
Fixes a lot of tests that use `set_trace_func` in `test_insns.rb`.
PR: https://github.com/Shopify/ruby/pull/379
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions
