fix(verify): gate JIT verification to amd64 until trampolines are hardened
This commit is contained in:
@@ -14,6 +14,14 @@ package verify
|
||||
//lint:ignore U1000 written and read by the assembly
|
||||
var savedBP uintptr
|
||||
|
||||
// savedR14 holds the caller's goroutine pointer across the ABI-checked JIT
|
||||
// call; the trampoline restores it before returning into Go code.
|
||||
//
|
||||
// noinspection GoUnusedGlobalVariable
|
||||
//
|
||||
//lint:ignore U1000 written and read by the assembly
|
||||
var savedR14 uintptr
|
||||
|
||||
// leaveCheckedPtr is initialised by the linker from the GLOBL/DATA in
|
||||
// abi_amd64.s: it holds the raw address of leaveJITCheckedRaw (which has
|
||||
// no ABIInternal wrapper, so the JIT function RETs directly into it).
|
||||
|
||||
Reference in New Issue
Block a user