[PATCH] D34475: [RFC] [AArch64] Add support for __builtin_ms_va_list on aarch64

2017-07-05 Thread Martin Storsjö via Phabricator via cfe-commits
mstorsjo updated this revision to Diff 105254. mstorsjo edited the summary of this revision. mstorsjo added reviewers: mgrang, t.p.northover. mstorsjo added a comment. Split the patch into two; one for generic handling of va_arg for win/arm64, and one for using the same functionality while target

[PATCH] D34475: [RFC] [AArch64] Add support for __builtin_ms_va_list on aarch64

2017-07-05 Thread Martin Storsjö via Phabricator via cfe-commits
mstorsjo updated this revision to Diff 105200. mstorsjo added a comment. Did a minor adjustment, to make sure a plain va_arg produces the right kind of output, when targeting windows directly (while the rest of the patch mostly is about supporting the MS ABI while targeting a different OS). ht

[PATCH] D34475: [RFC] [AArch64] Add support for __builtin_ms_va_list on aarch64

2017-06-21 Thread Martin Storsjö via Phabricator via cfe-commits
mstorsjo created this revision. Herald added subscribers: kristof.beyls, javed.absar, rengolin, aemerson. This behaves mostly the same as __builtin_ms_va_list on x86_64; a va_list on windows on aarch64 is a single pointer. In order to signal the kind of va_list to llvm for handling of va_start,