Is there a built in way to look at the optimizations the go compiler has made or the code generated by the go compiler, for example how do I know if a function was made inline?
To see the generated code:
go tool objdump myprogram.exe
go tool objdump -s "\.String" myprogram.exe
The latter command only disassembles all String
functions.