Currently, the -s and -w options are used on Golang builds. The -w option excludes DWARF debug tables from being included in the artifact. The -s option excludes the symbols and their location.
This issue suggests changing the options for Golang builds to include the -w option, but remove the -s option so symbols will be included in build artifacts should a panic occur - thus making the call stack is more useful/readable.
Typically, only a small increase in the size of artifact when including symbols. It has no performance effect the artifact.
Currently, the
-sand-woptions are used on Golang builds. The-woption excludes DWARF debug tables from being included in the artifact. The-soption excludes the symbols and their location.This issue suggests changing the options for Golang builds to include the
-woption, but remove the-soption so symbols will be included in build artifacts should a panic occur - thus making the call stack is more useful/readable.Typically, only a small increase in the size of artifact when including symbols. It has no performance effect the artifact.