Skip to content

Commit f86d950

Browse files
NerixyzDebadri Basak
authored andcommitted
[LLDB] Skip TestMultipleSlides.py on Windows (llvm#165604)
After the default PDB plugin changed to the native one (llvm#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). A PDB was built because the final executable in that test was linked with `-gdwarf`.
1 parent 1bd8729 commit f86d950

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/test/API/functionalities/multiple-slides/TestMultipleSlides.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
class MultipleSlidesTestCase(TestBase):
1313
NO_DEBUG_INFO_TESTCASE = True
1414

15+
# The intermediate object main.o is compiled without debug info, but
16+
# a.out is linked with `-gdwarf` on Windows. This creates a PDB.
17+
# However, in the native PDB plugin, the symbols don't have a size.
18+
@expectedFailureWindows
1519
def test_mulitple_slides(self):
1620
"""Test that a binary can be slid multiple times correctly."""
1721
self.build()

0 commit comments

Comments
 (0)