This patch is a fix for following issue: https://bugs.llvm.org/show_bug.cgi?id=31362
The problem was caused by front end lowering C calling conventions without taking into account calling conventions enforced by attribute. In this case win64cc was no correctly lowered on targets other than Windows.
Details
Details
- Reviewers
rnk zvi - Commits
- rG69fdf9a49685: Merging r324594: --------------------------------------------------------------…
rG4b20b3c80c55: Fix for #31362 - ms_abi is implemented incorrectly for values >=16 bytes.
rL324718: Merging r324594:
rL324594: Fix for #31362 - ms_abi is implemented incorrectly for values >=16 bytes.
rC324594: Fix for #31362 - ms_abi is implemented incorrectly for values >=16 bytes.
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
lgtm
These ABIInfo classes don't have any state, so just building one on the stack as needed is the way to go. Thanks for the fix!
Comment Actions
FWIW, this allows me to build wine again for x86_64, without any crashes or assertions. So that looks good, in any case.