[LLVMbugs] [Bug 13389] New: [Windows] Return types are sometimes mangled incorrectly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 18 03:03:25 PDT 2012


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

             Bug #: 13389
           Summary: [Windows] Return types are sometimes mangled
                    incorrectly
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: timurrrr at google.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


As of r160131,
  const int f() { return 0; }
gets mangled as "\01?f@@YABHXZ", should be "\01?f@@YA?BHXZ".

Similarly,
  class A {};
  const A c2() { return A(); }
get mangled as "\01?c2@@YA?ABVA@@XZ", should be "\01?c2@@YA?BVA@@XZ".

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