Releases are made in release mode and code should be run and tested that way, with some files compiled debug as necessary for crash analysis. With any level of threading this is absolutely necessary.
Originally Posted by Qaz`
But does it run faster then when compiled with gcc?
Originally Posted by Vim_User
You can build your release config (-O2 and release libraries or whatever that may be) with symbols (-g on clang and gcc), the symbols are not loaded on execution (you can even strip the symbols before sending it somewhere for testing, and still use it when you get crash dumps back).
Originally Posted by bnolsen
The exact config and optimization level to use in testing in different phases may vary, but that was not the question here. On top of that, the main thing is for the programmers ow builds, as they are the ones building the project again and again, optimized or not optimized, the symbols are needed.