HomePhabricator

Fix x86/x86_64 calling convention for _ExtInt

Authored by erichkeane on Apr 23 2020, 8:36 PM.

Description

Fix x86/x86_64 calling convention for _ExtInt

After speaking with Craig Topper about some recent defects, he pointed
out that _ExtInts should be passed indirectly if larger than the largest
int register, and like ints when smaller than that. This patch
implements that.

Note that this changed the way vaargs worked quite a bit, but they still
work.

Differential Revision: https://reviews.llvm.org/D78785

Details

Committed
erichkeaneApr 29 2020, 11:04 AM
Differential Revision
D78785: Fix x86/x86_64 calling convention for _ExtInt
Parents
rG613d86637434: [lldb] Remove a redundant semicolon, fixing GCC warnings. NFC.
Branches
Unknown
Tags
Unknown