[all-commits] [llvm/llvm-project] 885eae: Add func call so we don't instruction-step into th...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Wed Jan 13 23:41:56 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 885eae9d85de4b1b1907ac9b3ecba26565932069
https://github.com/llvm/llvm-project/commit/885eae9d85de4b1b1907ac9b3ecba26565932069
Author: Jason Molenda <jason at molenda.com>
Date: 2021-01-13 (Wed, 13 Jan 2021)
Changed paths:
M lldb/test/API/macosx/builtin-debugtrap/main.cpp
Log Message:
-----------
Add func call so we don't instruction-step into the builtin_trap
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.
More information about the All-commits
mailing list