summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorKevin Menard <kevin@nirvdrum.com>2024-07-02 15:55:17 -0400
committerGitHub <noreply@github.com>2024-07-02 15:55:17 -0400
commit3407565d2ff5cc1f67e7efe2f8d31714f4d72970 (patch)
treefdd86bfcf57149a793b1d941bf248e0f3f9a6f2f /test/ruby
parent2830a6ae3850279d76f96e1c2a0aad1a94ceac8b (diff)
YJIT: Use a special breakpoint address if one isn't explicitly supplied in order to support natural line stepping. (#11083)
Use a special breakpoint address if one isn't explicitly supplied in order to support natural line stepping. ARM64 will not increment the program counter (PC) upon hitting a breakpoint instruction. Consequently, stepping through code with a debugger ends up looping back to the breakpoint instruction. LLDB has a special breakpoint address of 0xf000 that will increment the PC and allow the debugger to work as expected. This change makes it possible to debug YJIT generated code on ARM64. More details at: https://discourse.llvm.org/t/stepping-over-a-brk-instruction-on-arm64/69766/8 Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org>
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions