PR#7417: ensure stack stays 16 bytes aligned#930
PR#7417: ensure stack stays 16 bytes aligned#930gasche merged 2 commits intoocaml:trunkfrom christoph-cullmann:trunk
Conversation
|
Added Changes entry. |
|
It would be nice to have a review by someone familiar with assembly (I'm not competent here) and the general backend implementation/style; @bschommer, can you vouch for the patch correctness? Otherwise maybe @alainfrisch, @xavierleroy? |
|
I am wondering if the same change is necessary in the other |
|
(On closer reading, the code seems OK as it stands - the macros |
|
I can confirm what @christoph-cullmann said. We now have the patch applied for about a week and have not encountered any problems on any of our internal-tests so far. |
|
Yes, at all other places I think the stack is properly aligned before we issue the call instruction (and if I don't misread the ABI docs, it must be 16 byte aligned before the call instruction, not counting the effect of the call itself) |
|
I went ahead and merged, thanks. |
|
Thanks, I pinged Xavier if he has any feedback. |
|
I'm always late to the party, sorry about that. But I'm OK with the change. It is a very good idea to always conform to the ABI, indeed! |
PR#7417: ensure stack stays 16 bytes aligned
…l#930) * crunch the playground assets as part of the build step of playground - build step of ocamlorg_static only copies the crunched asset file * add static-file-digest script to tools/ folder to compute static file digests of playground assets in ocamlorg_static * serve playground assets behind digest URLs to allow indefinite browser caching
See PR#7417
https://caml.inria.fr/mantis/view.php?id=7417
The WITH_FRAME_POINTERS leads to non-16 byte aligned stack addresses.
Try to fix that by manually align like it was done in other locations.
Unit tests seem to work better with that.