When building with -release multiple compiler flags get enabled at the same time.
For example asserts get disabled and framepointers get omitted.
It should be possible to enable each of these flags separately e.g.
-disable-assert
-omit-framepointer
When profiling with a sampling profiler one would want the compiler to put out framepointers so that the profiler can unwind the stack correctly, but all other release flags should be turned on to get a representative profiling output.
Comment #1 by code — 2011-10-02T01:59:33Z
*** This issue has been marked as a duplicate of issue 6752 ***