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
10    mydir = TestBase.compute_mydir(__file__)
11
12    @no_debug_info_test  # Prevent the genaration of the dwarf version of this test
13    @skipUnlessPlatform(['linux'])
14    @skipIf(hostoslist=["windows"])
15    @skipIfRemote # llvm.org/pr36237
16    def test_target_symbols_sepdebug_symlink_case(self):
17        self.build()
18        exe = self.getBuildArtifact("dirsymlink/stripped.symlink")
19
20        lldbutil.run_to_name_breakpoint(self, "main", exe_name = exe)
21