http://bugzilla.gdcproject.org/show_bug.cgi?id=93
Iain Buclaw <ibuc...@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Iain Buclaw <ibuc...@gdcproject.org> 2014-02-02 15:38:13 GMT --- I've got a fix locally for this, somewhere in the realm of: --- - // To place 'obj' behing unwindHeader. - enum UNWIND_PAD = (Phase1Info.sizeof + Object.sizeof) - % _Unwind_Exception.alignof; + // The object being thrown. Like GCJ, the compiled code expects this to + // be immediately before the generic exception header. + enum UNWIND_PAD = (Object.alignof < _Unwind_Exception.alignof) + ? _Unwind_Exception.alignof - Object.alignof : 0; - static if (UNWIND_PAD > 0) - byte[UNWIND_PAD] _pad; + ubyte[UNWIND_PAD] pad; --- -- Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.