[Lldb-commits] [lldb] [lldb][test][win][x86_64] Fix XFAIL and XPASS on LLDB API tests (PR #100477)

Kendal Harland via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 26 16:58:06 PDT 2024


================
@@ -52,6 +52,7 @@ def test_negative_indexing(self):
         self.build()
         self.validate_negative_indexing()
  
+    @expectedFailureAll(oslist=["windows"], archs=["x86_64"])
----------------
kendalharland wrote:

Seems like my Clang invocation is generating different debug information than expected:

```
PS C:\workspace\llvm-project> llvm-pdbutil.exe pretty -all C:\workspace\llvm-project\build\lldb-test-build.noindex\python_api\thread\TestThreadAPI.test_StepInstruction_dwarf\a.pdb | Select-String -Pattern call_me

  func [0x00001000+ 0 - 0x00001025-37 | sizeof= 37] (FPO) void __cdecl call_me(bool should_spin)
  func [0x00001000+ 0 - 0x00001025-37 | sizeof= 37] (FPO) void __cdecl call_me(bool should_spin)
  public [0x00001000] ?call_me@@YAX_N at Z
```

Is the issue here that debug symbols have the additional `should_spin` parameter name, thus LLDB is not able to look them up since it is search for `void call_me(bool)`?

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


More information about the lldb-commits mailing list