You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vi /go/pkg/mod/github.com/xxjwxc/[email protected]/myast/common.go
for { // find main file
_, filename, _, ok := runtime.Caller(index)
if ok {
fmt.Println(filename)
if strings.HasSuffix(filename, "runtime/asm_amd64.s") {
index = index - 2
break
}
if strings.HasSuffix(filename, "runtime/asm_arm64.s") {
index = index - 2
break
}
index++
} else {
panic(errors.New("package parsing failed:can not find m........
}
}
asm_amd64 is not correct in arm64 platform !
panic: package parsing failed:can not find main files
goroutine 1 [running]:
github.com/xxjwxc/public/myast.GetModuleInfo(0x2, 0x40000740d8, 0x400042baa8, 0x89198, 0x0, 0xe24dc)
/go/pkg/mod/github.com/xxjwxc/[email protected]/myast/common.go:42 +0x36c
github.com/xxjwxc/ginrpc.(_Base).tryGenRegister(0x40003a0190, 0x8588a0, 0x40003b01a0, 0x400042bea8, 0x1, 0x1, 0x40003a0190)
/go/pkg/mod/github.com/xxjwxc/[email protected]/common.go:455 +0x30
github.com/xxjwxc/ginrpc.(_Base).Register(0x40003a0190, 0x8588a0, 0x40003b01a0, 0x400042bea8, 0x1, 0x1, 0x40003b01a0)
/go/pkg/mod/github.com/xxjwxc/[email protected]/ginrpc.go:152 +0x9c
The text was updated successfully, but these errors were encountered: