[llvm-bugs] [Bug 42093] New: [ms] clang-cl mis-mangles decomposition declarations

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 31 08:09:24 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42093

            Bug ID: 42093
           Summary: [ms] clang-cl mis-mangles decomposition declarations
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

https://godbolt.org/z/6Nf1u6

$ cat test2.cc
#include <utility>
auto [x, y] = std::make_pair(4, 5);


$ ./clang-cl.sh test2.cc -c /std:c++latest
$ out/gn/bin/llvm-nm test2.obj
00000000 D ?[x,y]@@3U?$pair at HH@std@@A
00000000 R ?x@@3$$QEAHEA
00000008 R ?y@@3$$QEAHEA
00000000 a @feat.00


cl.exe's output looks very different, see godbolt above.

-- 
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/20190531/a3a08d9d/attachment-0001.html>


More information about the llvm-bugs mailing list