]> git.ipfire.org Git - thirdparty/gcc.git/commit
libphobos: Give _Unwind_Exception an alignment that best resembles __attribute__...
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 25 Sep 2021 17:50:52 +0000 (19:50 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Thu, 30 Sep 2021 13:07:19 +0000 (15:07 +0200)
commitefa5449a094d3887e124d400ff0410af2c745b2d
tree4d063fa0150fe3888801c3776ca111df26f06e18
parentd46a29d919058fb383d19fe35c234fab58286f71
libphobos: Give _Unwind_Exception an alignment that best resembles __attribute__((aligned))

For interoperability with C++ EH, the alignment should match, otherwise
D may not be able to intercept exceptions thrown from C++.

libphobos/ChangeLog:

* libdruntime/gcc/unwind/generic.d (__aligned__): Define.
(_Unwind_Exception): Align struct to __aligned__.
libphobos/libdruntime/gcc/unwind/generic.d