[llvm-bugs] [Bug 35044] New: [codeview] Dump (and maybe emit) debug info for C++17 structured bindings

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 23 15:41:32 PDT 2017


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

            Bug ID: 35044
           Summary: [codeview] Dump (and maybe emit) debug info for C++17
                    structured bindings
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvm-bugs at lists.llvm.org

MSVC emits a symbol record with unknown kind 0x1171 for this code:

struct Foo {
  int a, b;
};
int f() {
  Foo f = {1, 2};
  auto & [x, y] = f;
  return x + y;
}

We should:
1. Add dumping support for 0x1171
2. Figure out what the record achieves that can't be done with two local
variable records
3. Implement it if necessary

-- 
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/20171023/a4a5d855/attachment-0001.html>


More information about the llvm-bugs mailing list