This is an archive of the discontinued LLVM Phabricator instance.

Fix for #31362 - ms_abi is implemented incorrectly for larger values (>=16 bytes).
ClosedPublic

Authored by belickim on Feb 7 2018, 4:55 AM.

Details

Diff Detail

Repository
rC Clang

Event Timeline

belickim created this revision.Feb 7 2018, 4:55 AM
belickim added a subscriber: ashlykov.
rnk accepted this revision.Feb 7 2018, 10:49 AM

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!

This revision is now accepted and ready to land.Feb 7 2018, 10:49 AM
dim added a subscriber: dim.Feb 7 2018, 2:27 PM

FWIW, this allows me to build wine again for x86_64, without any crashes or assertions. So that looks good, in any case.

This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.