[英]What's the differenct between `go tool compile` and `go tool objdump`?
Both the go tool compile
and go tool objdump
can print the assembler of go program, I wonder what is the difference between two of them? go tool compile
和go tool objdump
都可以打印 go 程序的汇编程序,不知道它们有什么区别?
go tool compile
and go build -gcflags -S
are used to generate assembly code that is in the process, while go tool objdump
is used to generate assembly code for the final machine code. go tool compile
和go build -gcflags -S
用于生成正在处理的汇编代码,而go tool objdump
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.