Commit 97f75ae
committed
fix: guard breakpoint() with x86 check for ARM64 Windows support
The breakpoint() function uses x86-specific intrinsics (__stosb, __movsb)
and x86 debug registers (Dr0, Dr7 from CONTEXT) that don't exist on ARM64
Windows. This causes compilation to fail when targeting aarch64-pc-windows-msvc.
Added the same #if (!x86) return false; #endif guard that msr() already uses.1 parent a343d7c commit 97f75ae
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11956 | 11956 | | |
11957 | 11957 | | |
11958 | 11958 | | |
| 11959 | + | |
| 11960 | + | |
| 11961 | + | |
11959 | 11962 | | |
11960 | 11963 | | |
11961 | 11964 | | |
| |||
0 commit comments