github.com/tetratelabs/wazero@v1.7.1/internal/engine/wazevo/isa_other.go (about)

     1  //go:build !(amd64 || arm64)
     2  
     3  package wazevo
     4  
     5  import (
     6  	"github.com/tetratelabs/wazero/internal/engine/wazevo/backend"
     7  )
     8  
     9  func 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.
    15  func 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.
    21  func 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.
    27  func adjustClonedStack(oldsp, oldTop, sp, fp, top uintptr) {
    28  	panic("unsupported architecture")
    29  }