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

             Bug #: 13792
           Summary: MS name mangling incorrect for x64 class members
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


When compiling for x64 and MS compatibility, the name mangling of class members
is wrong:

class foo {
public:
  int __thiscall f() {
    return 0;
  }
};

clang:
define linkonce_odr x86_thiscallcc i32 @"\01?f@foo@@QAEHXZ"(%class.foo* %this)
nounwind align 2 {

MSVC:
PUBLIC    ?f@foo@@QEAAHXZ                    ; foo::f

Note the EAA in MSVC compared to AE in clang.

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