[lldb] Use assertState in even more tests (NFC)Followup to D127355 and D127378, converting more instances ofassertEqual to assertState.
[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://r
[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://reviews.llvm.org/D128077
show more ...
[lldb] Use assertState in more tests (NFC)Follow to D127355, converting more `assertEquals` to `assertState`.Differential Revision: https://reviews.llvm.org/D127378
[lldb][AArch64] Add UnwindPlan for Linux sigreturnThis adds a specific unwind plan for AArch64 Linux sigreturn frames.Previously we assumed that the fp would be valid here but it is not.https://
[lldb][AArch64] Add UnwindPlan for Linux sigreturnThis adds a specific unwind plan for AArch64 Linux sigreturn frames.Previously we assumed that the fp would be valid here but it is not.https://github.com/torvalds/linux/blob/master/arch/arm64/kernel/vdso/sigreturn.SOn Ubuntu Bionic it happened to point to an old frame info which meantyou got what looked like a correct backtrace. On Focal, the info iscompletely invalid. (probably due to some code shuffling in libc)This adds an UnwindPlan that knows that the sp in a sigreturn framepoints to an rt_sigframe from which we can offset to get savedsp and pc values to backtrace correctly.Based on LibUnwind's change: https://reviews.llvm.org/D90898A new test is added that sets all compares the frames from the initialsignal catch to the handler break. Ensuring that the stack/frame pointer,function name and register values match.(this test is AArch64 Linux specific because it's the only onewith a specific unwind plan for this situation)Fixes https://bugs.llvm.org/show_bug.cgi?id=52165Reviewed By: omjavaid, labathDifferential Revision: https://reviews.llvm.org/D112069
[lldb] Mark abort signal test unsupported on AArch64 LinuxThis has started failing since we moved our bots to Focal.For unknown reasons the abort_caller stack is missing whenwe check from the han
[lldb] Mark abort signal test unsupported on AArch64 LinuxThis has started failing since we moved our bots to Focal.For unknown reasons the abort_caller stack is missing whenwe check from the handler breakpoint.Mark unsupported while I investigate.
Revert "My prevous commit to RegisterContextLLDB is causing a test fail"This reverts commit 082f1a3b15999c803265fabcb555ad253a00d477.
My prevous commit to RegisterContextLLDB is causing a test failon aarch64-ubuntu - collect a little information about whatis happening on this target before I revert my change; I don'thave access
My prevous commit to RegisterContextLLDB is causing a test failon aarch64-ubuntu - collect a little information about whatis happening on this target before I revert my change; I don'thave access to this target.
[lldb][test] Remove symlink for API tests.Summary: Moves lldbsuite tests to lldb/test/API.This is a largely mechanical change, moved with the following steps:```rm lldb/test/API/testcasesmkdi
[lldb][test] Remove symlink for API tests.Summary: Moves lldbsuite tests to lldb/test/API.This is a largely mechanical change, moved with the following steps:```rm lldb/test/API/testcasesmkdir -p lldb/test/API/{test_runner/test,tools/lldb-{server,vscode}}mv lldb/packages/Python/lldbsuite/test/test_runner/test lldb/test/API/test_runnerfor d in $(find lldb/packages/Python/lldbsuite/test/* -maxdepth 0 -type d | egrep -v "make|plugins|test_runner|tools"); do mv $d lldb/test/API; donefor d in $(find lldb/packages/Python/lldbsuite/test/tools/lldb-vscode -maxdepth 1 -mindepth 1 | grep -v ".py"); do mv $d lldb/test/API/tools/lldb-vscode; donefor d in $(find lldb/packages/Python/lldbsuite/test/tools/lldb-server -maxdepth 1 -mindepth 1 | egrep -v "gdbremote_testcase.py|lldbgdbserverutils.py|socket_packet_pump.py"); do mv $d lldb/test/API/tools/lldb-server; done```lldb/packages/Python/lldbsuite/__init__.py and lldb/test/API/lit.cfg.py were also updated with the new directory structure.Reviewers: labath, JDevlieghereTags: #lldbDifferential Revision: https://reviews.llvm.org/D71151