xref: /llvm-project/lldb/test/API/linux/sepdebugsymlink/TestTargetSymbolsSepDebugSymlink.py (revision 2238dcc39358353cac21df75c3c3286ab20b8f53)
1""" Testing separate debug info loading for base binary with a symlink. """
2import lldb
3from lldbsuite.test.decorators import *
4from lldbsuite.test.lldbtest import *
5from lldbsuite.test import lldbutil
6
7
8class TestTargetSymbolsSepDebugSymlink(TestBase):
9    @no_debug_info_test  # Prevent the genaration of the dwarf version of this test
10    @skipUnlessPlatform(["linux"])
11    @skipIf(hostoslist=["windows"])
12    @skipIfRemote  # llvm.org/pr36237
13    def test_target_symbols_sepdebug_symlink_case(self):
14        self.build()
15        exe = self.getBuildArtifact("dirsymlink/stripped.symlink")
16
17        lldbutil.run_to_name_breakpoint(self, "main", exe_name=exe)
18