isa_other.go

 1//go:build !(amd64 || arm64)
 2
 3package wazevo
 4
 5import (
 6	"github.com/tetratelabs/wazero/internal/engine/wazevo/backend"
 7)
 8
 9func newMachine() backend.Machine {
10	panic("unsupported architecture")
11}
12
13// unwindStack is a function to unwind the stack, and appends return addresses to `returnAddresses` slice.
14// The implementation must be aligned with the ABI/Calling convention.
15func unwindStack(sp, fp, top uintptr, returnAddresses []uintptr) []uintptr {
16	panic("unsupported architecture")
17}
18
19// goCallStackView is a function to get a view of the stack before a Go call, which
20// is the view of the stack allocated in CompileGoFunctionTrampoline.
21func goCallStackView(stackPointerBeforeGoCall *uint64) []uint64 {
22	panic("unsupported architecture")
23}
24
25// adjustClonedStack is a function to adjust the stack after it is grown.
26// More precisely, absolute addresses (frame pointers) in the stack must be adjusted.
27func adjustClonedStack(oldsp, oldTop, sp, fp, top uintptr) {
28	panic("unsupported architecture")
29}