[Lldb-commits] [lldb] [lldb] Support dSYMs as modules (PR #77966)

via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 12 11:22:14 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r dd5ce4572fb90323799f1bdf585c01d08613e277...aa8cda04994699b23df3b5dd149d9204272aa74b lldb/test/API/macosx/dsym-module/TestTargetModuleAddDsym.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- TestTargetModuleAddDsym.py	2024-01-12 19:17:51.000000 +0000
+++ TestTargetModuleAddDsym.py	2024-01-12 19:22:06.356738 +0000
@@ -3,21 +3,19 @@
 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')
+        sym_path = os.path.join(dsym_path, "Contents", "Resources", "DWARF", "a.out")
 
         exe = self.getBuildArtifact("a.out")
         self.dbg.CreateTarget(exe)
 
         self.runCmd("target module add %s" % sym_path)
         self.expect("image list", substrs=[sym_path])
-

``````````

</details>


https://github.com/llvm/llvm-project/pull/77966


More information about the lldb-commits mailing list