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