Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Shopify#379
- Loading branch information