[Lldb-commits] [lldb] Trying to fix windows buildbots after #74786 (PR #75566)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 18 08:55:43 PST 2023


DavidSpickett wrote:

On the subject of `TestUniqueTypes4.py`, the program on Windows contains no symbol data, but on Linux I see:
```
[   78]    111     Data            0x0000000000011038                    0x0000000000000008 0x00000021 ns::Foo<double>::value
```
Which I think is the key here.

The puzzling thing is that despite compiling with `-gdwarf` there is a PDB file produced. `llvm-dwarfdump` on the program file seems to show enough information for the lookup to succeed but lldb doesn't use it? Perhaps because it's thinking there is a pdb file or it's being told that the pdb file is in fact dwarf?

Basically, I'm not sure why a pdb file is generated at all here. So that may be *one* of the issues, because it doesn't explain why it worked previously.

Unless previously the lookup of `ns::FooDouble::value` did not require that there be a symbol present, but I don't see how else it would have found it.

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


More information about the lldb-commits mailing list