Bug 6757 – Expose compiler switches behind -release separately

Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-10-02T01:53:00Z
Last change time
2015-06-09T05:11:49Z
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2011-10-02T01:53:38Z
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 ***