unblock go1.18
@@ -310,9 +310,7 @@ patchClone()
#define UNKNOWN_GO_VER (-1)
#define MIN_SUPPORTED_GO_VER (8)
-// Go change passing parameters from stack to register
-// Ref: https://golang.org/doc/go1.17#compile
-#define PARAM_ON_REG_GO_VER (18)
+#define PARAM_ON_REG_GO_VER (19)
static int
go_major_version(const char *go_runtime_version)
@@ -525,7 +523,7 @@ initGoHook(elf_buf_t *ebuf)
}
return; // don't install our hooks
} else if (go_major_ver >= PARAM_ON_REG_GO_VER) {
- scopeLogWarn("%s was compiled with go version `%s`. Go1.17 or newer is not yet supported. Continuing without AppScope.", ebuf->cmd, go_runtime_version);
+ scopeLogWarn("%s was compiled with go version `%s`. Versions newer than Go 1.18 are not yet supported. Continuing without AppScope.", ebuf->cmd, go_runtime_version);
return; // don't install our hooks
}
/*
