This MR enforces alignment of TLS slots as described in PE file.
I'm not 100% happy with the deallocation scheme, as it could be slow.
If someone has a better idea, be welcome!
Didn't open the option to introduce helpers in heap.c (but maybe that's the way to go).
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7251
we could perhaps test that the cloning of the handle actually took place
your test just shows that the parsing succeeds but nothing is actually written to 2
something like would do
`dir /Z > foo 2<&1`
`findstr . foo > NUL & if errorlevel 1 (echo not redirected) else echo redirected`
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7252#note_93522