================ @@ -0,0 +1,21 @@ +import os +from lldbsuite.test.decorators import * +from lldbsuite.test.lldbtest import * + + +@skipUnlessDarwin +class TargetModuleAddDsymTest(TestBase): + @no_debug_info_test + def test_target_module_add(self): + """Test that you can add a dSYM as a module.""" + self.build(debug_info="dsym") + + exe_path = self.getBuildArtifact("a.out") + dsym_path = exe_path + ".dSYM" + sym_path = os.path.join(dsym_path, "Contents", "Resources", "DWARF", "a.out") + + exe = self.getBuildArtifact("a.out") + self.dbg.CreateTarget(exe) ---------------- JDevlieghere wrote:
Yes, the test isn't meant to be particularly useful, it's mostly here to prove that the functionality works. https://github.com/llvm/llvm-project/pull/77966 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits