llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[clang backend] In AArch64's DataLayout, specify a minimum function alignment of 4. (#90702)

Open TNorthover opened this issue 2 years ago • 1 comments

Cherry pick from main.

This addresses an issue where the explicit alignment of 2 (for C++ ABI reasons) was being propagated to the back end and causing under-aligned functions (in special sections).

This is an alternate approach suggested by @efriedma-quic in PR #90415.

Fixes #90358

TNorthover avatar May 23 '24 12:05 TNorthover

@swift-ci test

TNorthover avatar May 23 '24 12:05 TNorthover