go 语言调试

https://guidao.github.io/go_debug.html

go build -gcflags "-N -l" test8.go
编译代码,-gcflags是给go编译器的参数,gc是go compile的意思。-N是不要优化代码,-l 是禁止内联代码。

posted @ 2021-09-23 14:14  mangoCzp  阅读(43)  评论(0编辑  收藏  举报