[CodeView] Enable debugging of captured variables within C++ lambdas
authorBrock Wyma <brock.wyma@intel.com>
Tue, 22 May 2018 12:41:19 +0000 (12:41 +0000)
committerBrock Wyma <brock.wyma@intel.com>
Tue, 22 May 2018 12:41:19 +0000 (12:41 +0000)
commit8557ec5d642a86bc7d0fa3d95f5f6023a7b7cb26
tree9faadd3f29ed7f6427e643ff94f2d4d272e4be98
parent067ec70d4fcbfc6bbb437110d94bf7e301717cd8
[CodeView] Enable debugging of captured variables within C++ lambdas

This change will help Visual Studio resolve forward references to C++ lambda
routines used by captured variables.

Differential Revision: https://reviews.llvm.org/D45438

llvm-svn: 332975
clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/CodeGen/debug-info-codeview-unnamed.c [new file with mode: 0644]
clang/test/CodeGenCXX/debug-info-codeview-unnamed.cpp [new file with mode: 0644]