bolt/deps/llvm-18.1.8/lldb/test/API/functionalities/inline-sourcefile/TestInlineSourceFiles.py

18 lines
572 B
Python
Raw Normal View History

2025-02-14 19:21:04 +01:00
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"])