[LLVMbugs] [Bug 7590] New: C++ mangler output not correct in some cases

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 8 01:17:08 PDT 2010


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

           Summary: C++ mangler output not correct in some cases
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: thom.heller at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


The C++ mangler seems to have problems with template-template parameters.

Here is the output of the attached test-case after piping through c++filt:

$ clang++ mangle_test.cpp && ./a.out | c++filt -t
A<B, C, void, void, void>
A<B, C, D, void, void>
A<B, C, D, C, void>
Z<B, void, void, void>
Z<B, D, void, void>
Z<B, D, D, void>

The correct output should be:
A<B, C, void, void, void>
A<B, C, D, void, void>
A<B, C, D, D, void>
Z<B, void, void, void>
Z<B, D, void, void>
Z<B, D, D, void>


Note, that a call to abi::__cxa_demangle gives the same results

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