[LLVMbugs] [Bug 13792] New: MS name mangling incorrect for x64 class members

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 7 05:41:33 PDT 2012


             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: unassignedclangbugs at nondot.org
        ReportedBy: aaron at aaronballman.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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

class foo {
  int __thiscall f() {
    return 0;

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

PUBLIC    ?f at 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.

More information about the llvm-bugs mailing list