[Issue 20235] C++ ABI doesn't destruct struct arguments in the callee

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 29 13:26:11 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20235

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
@SSoulaimane updated dlang/dmd pull request #10593 "Fix issue 20235 - caller
destroys arguments on POSIX" fixing this issue:

- Fix issue 20235 - caller destroys arguments on POSIX

  On Windows arguments are destroyed in the callee regardless of which calling
convention is used (cdecl, stdcall... etc), 32bits and 64bits alike.

  On the other platforms, the caller destroys the arguments if the caller
cleans the stack.

https://github.com/dlang/dmd/pull/10593

--


More information about the Digitalmars-d-bugs mailing list