aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/inline-sourcefile/TestInlineSourceFiles.py
blob: af14f5e7d6a74f26662fddf99fc39bd64ffaec51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbplatform
from lldbsuite.test import lldbutil


class InlineSourceFilesTestCase(TestBase):
    @skipIf(compiler="gcc")
    @skipIf(compiler="clang", compiler_version=["<", "18.0"])
    # Fails on Windows for unknown reasons.
    @skipIfWindows
    def test(self):
        """Test DWARF inline source files."""
        self.build()
        lldbutil.run_to_name_breakpoint(self, "f")
        self.expect("list f", substrs=["This is inline source code"])