www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7076] New: _d_throwc silently continues execution on failure

http://d.puremagic.com/issues/show_bug.cgi?id=7076

           Summary: _d_throwc silently continues execution on failure
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody puremagic.com
        ReportedBy: dawg dawgfoto.de


--- Comment #0 from dawg dawgfoto.de 2011-12-06 20:40:50 PST ---
Created an attachment (id=1051)
Proposed _d_throwc change

In cases where no EH table was found the program should abort.

Four reasons for such a failure.
  - throwing exceptions across language border
  - call to _d_throwc with frame pointer that has no EH entry
  - corrupted/non-present EH tables
  - entry points without handler
    (druntime wraps one around _Dmain)

Not sure if this also applies to Windows.

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