[PATCH] D118804: Revert "[Clang] Propagate guaranteed alignment for malloc and others"

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 8 10:55:23 PST 2022


MaskRay added a comment.

In D118804#3304261 <https://reviews.llvm.org/D118804#3304261>, @urnathan wrote:

> While C2X has blessed such smaller alignments, the x86_64 ABI (in particular), has not.  However, using that ABI to justify 'It. Is. 16. Bytes.', is really an exercise in reality denial at this point.  just thought I'd make it clear we have conflicting standards and practicality to attend to.

By x86-64 ABI, do you mean "System V Application Binary Interface AMD64 Architecture Processor Supplement"? I have searched a bit but do not find the relevant wording on memory allocation.
If there is one, you can report issues on https://gitlab.com/x86-psABIs/x86-64-ABI/-/issues (gitlab account needed).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118804/new/

https://reviews.llvm.org/D118804



More information about the cfe-commits mailing list