[LLVMbugs] [Bug 16853] New: [-cxx-abi microsoft] Mangle TemplateArgument::Declaration correctly for references

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 10 07:46:04 PDT 2013


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

            Bug ID: 16853
           Summary: [-cxx-abi microsoft] Mangle
                    TemplateArgument::Declaration correctly for references
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

struct record {
  int first;
  int second;
};
template <const record &>
struct type1 {
};
extern const record inst;
type1<inst> x;

We currently mangle it like this:
?x@@3U?$type1@$1?inst@@3Urecord@@B@@A

Instead, it should be mangled as:
?x@@3U?$type1@$E?inst@@3Urecord@@B@@A

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130810/736a0104/attachment.html>


More information about the llvm-bugs mailing list