[clang] Supports viewing class member variables in lambda when using the vs debugger (PR #71564)

Zequan Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 16 07:41:53 PST 2023


================
@@ -0,0 +1,48 @@
+// RUN: %clang_cl --target=x86_64-windows-msvc /c /Z7 -o %t.obj -- %s
----------------
ZequanWu wrote:

I think you are missing `-gcodeview` in the command line to emit the debug info. The change should reflect on a metadata. `llvm/test/DebugInfo/COFF` is the place to test the phase when IR being lowered to object file.  `clang/test/CodeGenCXX` is for testing C++ code to IR.

https://github.com/llvm/llvm-project/pull/71564


More information about the cfe-commits mailing list