https://llvm.org/bugs/show_bug.cgi?id=29143
Bug ID: 29143
Summary: va_arg in ms_abi variadic functions should expect
large structs to be passed by reference
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
As we discovered in http://llvm.org/pr20569, MSVC passes structs larger than 8
bytes indirectly by reference. We now emit the correct code on Win64, but we
don't do the right thing for functions marked ms_abi because they use
__builtin_va_arg instead of __builtin_ms_va_arg.
We should do something so that ms_abi functions on a sys V system act more like
native win64 functions.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs