Bug 7076 – _d_throwc silently continues execution on failure

Status
NEW
Severity
normal
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2011-12-06T20:40:50Z
Last change time
2024-12-07T13:31:42Z
Assigned to
No Owner
Creator
Martin Nowak
Moved to GitHub: dmd#17238 →

Attachments

IDFilenameSummaryContent-TypeSize
1051patch-rt_deh2.dProposed _d_throwc changetext/plain858

Comments

Comment #0 by code — 2011-12-06T20:40:50Z
Created attachment 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.
Comment #1 by robert.schadek — 2024-12-07T13:31:42Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17238 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB