Thread overview
[Issue 6752] New: Add separate option to control stack frame generation
Oct 01, 2011
Vladimir Panteleev
Oct 02, 2011
Benjamin Thaut
Oct 03, 2011
Walter Bright
October 01, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6752

           Summary: Add separate option to control stack frame generation
           Product: D
           Version: D1 & D2
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: thecybershadow@gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow@gmail.com> 2011-10-01 09:50:23 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 02, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6752


Benjamin Thaut <code@benjamin-thaut.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@benjamin-thaut.de


--- Comment #1 from Benjamin Thaut <code@benjamin-thaut.de> 2011-10-02 01:59:33 PDT ---
*** Issue 6757 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 03, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6752


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2011-10-02 23:36:26 PDT ---
https://github.com/D-Programming-Language/dmd/commit/785fd4701f47dc77224b7b7c8b94c81f537b2b09

https://github.com/D-Programming-Language/dmd/commit/acddd7fc4a9fbc8353d0c8c6ace64194d3c9e358

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------