[Lldb-commits] [lldb] [lldb] Allow mapping object file paths (PR #101361)

via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 31 09:50:12 PDT 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 12189f800585ab459afa20b4f159db93ae474b57...5221c6f267fffd811c6dd39dbbcc211e2a93739c lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
``````````

</details>

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

``````````diff
--- TestLinuxCore.py	2024-07-31 16:38:38.000000 +0000
+++ TestLinuxCore.py	2024-07-31 16:49:38.640161 +0000
@@ -258,11 +258,13 @@
         lldbutil.mkdir_p(os.path.dirname(executable))
         shutil.copyfile("linux-i386.out", executable)
 
         # Replace the original module path at /home/labath/test and load the core
         self.runCmd(
-            "settings set target.object-map /home/labath/test {}".format(tmp_object_map_root)
+            "settings set target.object-map /home/labath/test {}".format(
+                tmp_object_map_root
+            )
         )
 
         target = self.dbg.CreateTarget(None)
         process = target.LoadCore("linux-i386.core")
 

``````````

</details>


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


More information about the lldb-commits mailing list