aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/macosx/builtin-debugtrap
AgeCommit message (Collapse)AuthorFilesLines
2023-05-25[NFC][Py Reformat] Reformat python files in lldbJonas Devlieghere1-10/+13
This is an ongoing series of commits that are reformatting our Python code. Reformatting is done with `black` (23.1.0). If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run `git checkout --ours <yourfile>` and then reformat it with black. RFC: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Differential revision: https://reviews.llvm.org/D151460
2022-06-17[lldb][tests] Automatically call compute_mydir (NFC)Dave Lee1-2/+0
Eliminate boilerplate of having each test manually assign to `mydir` by calling `compute_mydir` in lldbtest.py. Differential Revision: https://reviews.llvm.org/D128077
2021-01-13Add func call so we don't instruction-step into the builtin_trapJason Molenda1-0/+1
The way this test is structured right now, I set a breakpoint on the instruction before the __builtin_trap. It hits the breakpoint, disables the breakpoint, and instruction steps. This hits the builtin_trap instruction which debugserver (on arm64) now advances to the next instruction and reports that address to lldb. lldb doesn't recognize this as a proper response to the instruction step and continues executing until the next trap, and the test fails.
2020-11-12debugserver should advance pc past builtin_debugtrap insnJason Molenda3-0/+84
On x86_64, when you hit a __builtin_debugtrap instruction, you can continue past this in the debugger. This patch has debugserver recognize the specific instruction used for __builtin_debugtrap and advance the pc past it, so that the user can continue execution once they've hit one of these. In the patch discussion, we were in agreement that it would be better to have this knowledge up in lldb instead of depending on each stub rewriting the pc behind the debugger's back, but that's a larger scale change for another day. <rdar://problem/65521634> Differential revision: https://reviews.llvm.org/D91238