Fixes #614: Implement a debug trap;
This commit is contained in:
committed by
Dan Gohman
parent
f065b39d65
commit
93696a80bb
@@ -784,6 +784,9 @@ ebb1:
|
||||
; asm: jnbe .+4; ud2
|
||||
trapif ule v11, user0 ; bin: 77 02 user0 0f 0b
|
||||
|
||||
; Debug trap.
|
||||
debugtrap ; bin: cc
|
||||
|
||||
; Stack check.
|
||||
; asm: cmpq %rsp, %rcx
|
||||
[-,%rflags] v40 = ifcmp_sp v1 ; bin: 48 39 e1
|
||||
|
||||
Reference in New Issue
Block a user