Reid Kleckner c8c075e876
[MS] Follow up fix to pass aligned args to variadic x86_32 functions (#65692)
MSVC allows users to pass structures with required alignments greater
than 4 to variadic functions. It does not pass them indirectly to
correctly align them. Instead, it passes them directly with the usual 4
byte stack alignment.

This change implements the same logic in clang on the passing side. The
receiving side (va_arg) never implemented any of this indirect logic, so
it doesn't need to be updated.

This issue pre-existed, but @aaron.ballman noticed it when we started
passing structs containing aligned fields indirectly in D152752.
2023-09-13 16:29:11 -07:00
..
2022-10-22 08:05:22 +08:00
2022-10-27 17:20:07 +08:00
2023-07-20 10:24:16 +08:00
2023-07-20 10:24:16 +08:00
2023-07-20 13:35:15 +08:00
2021-09-06 17:24:30 +08:00