[all-commits] [llvm/llvm-project] d3993a: [lldb][test] Correctly fix break at _dl_debug_stat...
Zequan Wu via All-commits
all-commits at lists.llvm.org
Thu Apr 18 08:15:39 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d3993ac1890731d2b24543646961c95680788207
https://github.com/llvm/llvm-project/commit/d3993ac1890731d2b24543646961c95680788207
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-04-18 (Thu, 18 Apr 2024)
Changed paths:
M lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
Log Message:
-----------
[lldb][test] Correctly fix break at _dl_debug_state test on arm.
If lldb finds the dynamic linker in the search path or if the binary is linked staticlly, it will fail at `lldbutil.run_break_set_by_symbol` because the breakpoint is resolved. Otherwise, it's not resolved at this point. But we don't care if it's resolved or not. This test cares about if the breakpoint is hit or not after launching.
This changes the num_expected_locations to -2, which means don't assert on if this breakpoint resolved or not.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list