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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
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@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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs