I'm trying to determine whether there are any downsides to building release binaries with debug symbols left in. For our release builds, we compile with -O3
at the moment and if there are any crashes, the cores are next to useless.
So, what I would like to do is modify the build to leave in debug symbols, i.e. -O3 -g
, but there is resistance to this as the feeling is that there could be some impact (aside from size of binary). I know that the size issue can be fixed by stripping out the symbols, but is there anything else subtle that I'm missing?