[LLVMbugs] [Bug 12603] New: [Windows] MicrosoftCXXNameMangler doesn't know about repeated types

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 20 08:54:31 PDT 2012


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

             Bug #: 12603
           Summary: [Windows] MicrosoftCXXNameMangler doesn't know about
                    repeated types
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++11
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: timurrrr at google.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Repro:
-------------------------
class X {};

X foo(X, X);

int main() {
  foo(X(), X());
}
-------------------------

$ cl rep_mangling.cpp
...
unresolved external symbol ... (?foo@@YA?AVX@@V1 at 0@Z)
...

# as of r155195
$ clang++.exe -Xclang -cxx-abi -Xclang microsoft rep_mangling.cpp
...
unresolved external symbol ... (?foo@@YAVX@@VX@@VX@@@Z)
...

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