[Lldb-commits] [lldb] [lldb][DynamicLoader] Fix lldb unable to stop at _dl_debug_state if user set it before the process launched. (PR #88792)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 15 13:45:56 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 0287a5cc4e2a5ded1ae2e4079f91052e6a6b8d9b...26528cd679478448edf446e0e82e5f207ffd6113 lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestBreakpointCommand.py 2024-04-15 20:36:32.000000 +0000
+++ TestBreakpointCommand.py 2024-04-15 20:45:33.746929 +0000
@@ -679,12 +679,12 @@
process is launched.
"""
self.build()
exe = self.getBuildArtifact("a.out")
self.runCmd("target create %s" % exe)
- bpid = lldbutil.run_break_set_by_symbol(self, "_dl_debug_state",
- num_expected_locations=0)
+ bpid = lldbutil.run_break_set_by_symbol(
+ self, "_dl_debug_state", num_expected_locations=0
+ )
self.runCmd("run")
self.assertIsNotNone(
- lldbutil.get_one_thread_stopped_at_breakpoint_id(self.process(),
- bpid)
- )
+ lldbutil.get_one_thread_stopped_at_breakpoint_id(self.process(), bpid)
+ )
``````````
</details>
https://github.com/llvm/llvm-project/pull/88792
More information about the lldb-commits
mailing list