https://github.com/Nerixyz created 
https://github.com/llvm/llvm-project/pull/165604

After the default PDB plugin changed to the native one (#165363), this test 
failed, because it uses the size of public symbols and the native plugin sets 
the size to 0 (as PDB doesn't include this information explicitly). DWARF 
emitted by clang on Windows doesn't include the public symbols, so LLDB fell 
back to PDB.

>From 0180d1275a49aad11c214c3c154561d663aceeeb Mon Sep 17 00:00:00 2001
From: Nerixyz <[email protected]>
Date: Wed, 29 Oct 2025 18:41:41 +0100
Subject: [PATCH] [LLDB] Skip TestMultipleSlides.py on Windows

---
 .../API/functionalities/multiple-slides/TestMultipleSlides.py  | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/lldb/test/API/functionalities/multiple-slides/TestMultipleSlides.py 
b/lldb/test/API/functionalities/multiple-slides/TestMultipleSlides.py
index 3d6b27fe68a1b..48db92b611cfa 100644
--- a/lldb/test/API/functionalities/multiple-slides/TestMultipleSlides.py
+++ b/lldb/test/API/functionalities/multiple-slides/TestMultipleSlides.py
@@ -12,6 +12,9 @@
 class MultipleSlidesTestCase(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
 
+    # DWARF doesn't include public symbols on Windows, so LLDB falls back to 
the PDB.
+    # Symbols don't have a size in the native PDB plugin.
+    @skipIfWindows
     def test_mulitple_slides(self):
         """Test that a binary can be slid multiple times correctly."""
         self.build()

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to