18 lines · python
1import lldb2from lldbsuite.test.decorators import *3from lldbsuite.test.lldbtest import *4from lldbsuite.test import lldbplatform5from lldbsuite.test import lldbutil6 7 8class InlineSourceFilesTestCase(TestBase):9 @skipIf(compiler="gcc")10 @skipIf(compiler="clang", compiler_version=["<", "18.0"])11 # Fails on Windows for unknown reasons.12 @skipIfWindows13 def test(self):14 """Test DWARF inline source files."""15 self.build()16 lldbutil.run_to_name_breakpoint(self, "f")17 self.expect("list f", substrs=["This is inline source code"])18