Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macOS arm64 Unix breakpoint #108560

Merged
merged 3 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/coreclr/jit/instrsarm64.h
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@ INST1(yield, "yield", 0, IF_SN_0A, 0xD503203F)
INST1(brk_windows, "brk_windows", 0, IF_SI_0A, 0xD43E0000)
// brk (windows) SI_0A 1101010000111110 0000000000000000 D43E 0000 0xF000

INST1(brk_unix, "brk_unix", 0, IF_SI_0A, 0xD4200000)
INST1(brk_unix, "brk_unix", 0, IF_SI_0A, 0xD43E0000)
// brk imm16 SI_0A 11010100001iiiii iiiiiiiiiii00000 D420 0000 imm16
janvorli marked this conversation as resolved.
Show resolved Hide resolved

INST1(dsb, "dsb", 0, IF_SI_0B, 0xD503309F)
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/pal/inc/unixasmmacrosarm64.inc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ C_FUNC(\Name\()_End):
.endm

.macro EMIT_BREAKPOINT
brk #0
brk #0xf000
.endm

//-----------------------------------------------------------------------------
Expand Down
Loading