diff options
author | Martin Storsjö <martin@martin.st> | 2021-05-31 23:59:56 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-06-08 12:14:12 +0300 |
commit | b34da6ff9c1d72816d0c9b87d5f0e879850bc424 (patch) | |
tree | af846562a92f900f5437682a13a5e59df4ca5e20 /llvm/lib/CodeGen/CommandFlags.cpp | |
parent | c59ce1f6257c88330c1f1757c36d59d34fe29248 (diff) | |
download | llvm-b34da6ff9c1d72816d0c9b87d5f0e879850bc424.zip llvm-b34da6ff9c1d72816d0c9b87d5f0e879850bc424.tar.gz llvm-b34da6ff9c1d72816d0c9b87d5f0e879850bc424.tar.bz2 |
[clang] Apply MS ABI details on __builtin_ms_va_list on non-windows platforms on x86_64
This fixes inconsistencies in the ms_abi.c testcase.
Also add a couple cases of missing double pointers in the windows part
of the testcase; the outcome of building that testcase on windows hasn't
changed, but the previous form of the test was imprecise (checking
for "%[[STRUCT_FOO]]*" when clang actually generates "%[[STRUCT_FOO]]**"),
which still used to match.
Ideally this would share code with the native Windows case, but
X86_64ABIInfo and WinX86_64ABIInfo aren't superclasses/subclasses of
each other so it's impractical, and the code to share currently only
consists of a couple lines.
Differential Revision: https://reviews.llvm.org/D103837
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions