[Lldb-commits] [lldb] [LLDB] Skip TestMultipleSlides.py on Windows (PR #165604)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 29 11:26:32 PDT 2025
Nerixyz wrote:
> So if we had used lld when running this test on Windows with DWARF, it would've passed?
Sorry, I was wrong. The intermediate object, `main.o`, is compiled without debug info. However, the final executable `a.out` is linked with clang and `-gdwarf`. Because of this, clang will instruct LLD to build a PDB.
I don't know how this works on other platforms if `-g` is included when linking. An alternative approach to compile without any debug info would be to set `DEBUG_INFO_FLAG` to an empty string. The test would fail on Windows too, because the default visibility for symbols is hidden and LLDB wouldn't find the variables.
https://github.com/llvm/llvm-project/pull/165604
More information about the lldb-commits
mailing list