[Lldb-commits] [lldb] [LLDB] Skip TestMultipleSlides.py on Windows (PR #165604)

via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 29 10:44:44 PDT 2025


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 <nerixdev at outlook.de>
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()



More information about the lldb-commits mailing list