[Lldb-commits] [PATCH] D58678: Improve step over performance by not stopping at branches that are function calls and stepping into and them out of each one
Greg Clayton via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 26 08:34:08 PST 2019
clayborg created this revision.
clayborg added a reviewer: jingham.
Herald added a reviewer: serge-sans-paille.
Herald added a project: LLDB.
Currently when we single step over a source line, we run and stop at every branch in the source line range. We can reduce the number of times we stop when stepping over by figuring out if any of these branches are function calls, and if so, ignore these branches. Since we are stepping over we can safely ignore these calls since they will return to the next instruction. Currently the step logic would stop at those branches (1st stop), single step into the branch (2nd stop), and then set a breakpoint at the return address (3rd stop), and then continue.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4629 bytes
Desc: not available
More information about the lldb-commits