[Bug 44055] New: TestRequireHWBreakpoints.py fails on AArch64 Ubuntu

Bug ID 44055
Summary TestRequireHWBreakpoints.py fails on AArch64 Ubuntu
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter diana.picus@linaro.org
CC jdevlieghere@apple.com, llvm-bugs@lists.llvm.org

'thread step-over', 'step-out', 'step-in' and 'until' all seem to return
success, although an error is expected after setting
target.require-hardware-breakpoint to true.

FAILURE
FAIL: LLDB (/home/diana.picus/llvm-envs/lldb/build/bin/clang-10-aarch64) ::
test_step_out (TestRequireHWBreakpoints.BreakpointLocationsTestCase)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type
'lldb::SBProcess *' at 0xffff7f38e630> >>: success

Jonas Devlieghere changed bug 44055

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    Resolution | — | FIXED |

Comment # 1 on bug 44055 from Jonas Devlieghere

Yes, that makes sense, the test relies on hardware breakpoints being
unavailable. This is not the case for arm/amr64 linux. I've added a XFAIL
decorator conditional on hardware breakpoints being unavailable.

commit f78f15a60ee42781cbe9fb04b6c40ef0e2cd093c (HEAD -> master, origin/master)
Author: Jonas Devlieghere <[jonas@devlieghere.com](mailto:jonas@devlieghere.com)>

    [lldb/Test] XFAIL TestRequireHWBreakpoints when HW BPs are avialable