7338332dcfc4d3589a348c80618e3f6ac81d796b
[openbsd] /
1 """ Testing separate debug info loading for base binary with a symlink. """
2 import lldb
3 from lldbsuite.test.decorators import *
4 from lldbsuite.test.lldbtest import *
5 from lldbsuite.test import lldbutil
6
7
8 class 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)