toolset Clang with Microsoft CodeGen (v140_clang_c2) debug is broken
I have already reported the problem and provided an analysis so please read on mailing list :
-
toolset Clang 3.7 with Microsoft CodeGen (v140_clang_3_7) debug is broken
-
toolset Clang with Microsoft CodeGen (v140_clang_c2) debug is broken
I am currently testing the latest 3.7.0-rc2 and when I generate a project for Visual Studio 14 2015 with a toolset v140_clang_c2 debugging is broken (We cannot see variables values, ...).
To fix it I have to do the following things:
-
Remove all additional options (even if the only real problematic one is -gline-tables-only but other options are irrelevant with the clang provided by MS)
-
In debug set Optimization to Disabled
-
Set DebugInfomationFormat to FullDebug.
See my emails for better explanations.