http://llvm.org/bugs/show_bug.cgi?id=9148

           Summary: [ENH] Support the 'ms_abi' and 'sysv_abi' attributes
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


The Win64 and System V x86-64 ABIs have different calling conventions.
Currently, LLVM picks the right convention based on the target triple.

GCC does this too, but it also allows code to override the default using two
attributes, 'ms_abi' and 'sysv_abi', which pick the Win64 and System V x86-64
conventions, respectively.

Sixty-four-bit Wine (http://www.winehq.org/) uses the ms_abi attribute
extensively in order for its DLLs to have the correct calling convention.
Without this support, LLVM-based compilers can't build 64-bit Wine.

-- 
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

Reply via email to