[Lldb-commits] [lldb] [LLDB] Run API tests with PDB too (PR #149305)

via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 3 09:49:24 PST 2025


Nerixyz wrote:

Ping, now that the native plugin is the default.

I updated the branch and switched from using just `-g` to `-g -gcodeview`. `-g` ensures `-debug` is passed to the linker and `-gcodeview` tells clang to generate CodeView (and a PDB in the end) - `-gcodeview` alone doesn't work. Since it now forces codeview, this should work on targets defaulting to DWARF (MinGW) as well (@mstorsjo).

Test cases only run with PDB if `TEST_WITH_PDB_DEBUG_INFO` is set to `True` and they only use the default plugin (native).

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


More information about the lldb-commits mailing list