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: unassignedb...@nondot.org
          Reporter: r...@google.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to