http://llvm.org/bugs/show_bug.cgi?id=14984
Bug #: 14984
Summary: Implement __attribute__((ms_abi))
Product: clang
Version: 3.2
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Since version 4.7 of GCC, there is a new attribute to make a function use the
MS ABI calling convention: __attribute__((ms_abi)).
This is useful when compiling ELF files on Unix which will then call EFI
functions. gnu-efi and FreeBSD need this support from the compiler, because
otherwise they have to wrap around every EFI function call with assembly
instructions to convert ABIs.
It looks like it should be enough to support __attribute__((stdcall)) which
would map to X86_StdCall.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs