[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] Replace asserts on .Success() with assertSuccess()Replace forms of `assertTrue(err.Success())` with `assertSuccess(err)` (added in D82759).* `assertSuccess` prints out the error's message
[lldb] Replace asserts on .Success() with assertSuccess()Replace forms of `assertTrue(err.Success())` with `assertSuccess(err)` (added in D82759).* `assertSuccess` prints out the error's message* `assertSuccess` expresses explicit higher level semantics, both to the reader and for test failure output* `assertSuccess` seems not to be well known, using it where possible will help spread knowledge* `assertSuccess` statements are more succinctDifferential Revision: https://reviews.llvm.org/D119616
[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