D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6752 - Add separate option to control stack frame generation
Summary: Add separate option to control stack frame generation
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 All
: P2 enhancement
Assignee: No Owner
URL:
Keywords:
: 6757 (view as issue list)
Depends on:
Blocks:
 
Reported: 2011-10-01 09:50 UTC by Vladimir Panteleev
Modified: 2015-06-09 05:10 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Vladimir Panteleev 2011-10-01 09:50:23 UTC
Currently, stack frame generation is tied to the -release command-line option. The -release option also controls other things, such as bounds checking, inclusion of asserts/contracts/invariants etc.

It is sometimes useful to have stack frames in an optimized executable, for example for usage with a 3rd-party profiler. Therefore, there should be an additional option to control just stack frame generation.
Comment 1 Benjamin Thaut 2011-10-02 01:59:33 UTC
*** Issue 6757 has been marked as a duplicate of this issue. ***