diff options
author | Jason Molenda <jmolenda@apple.com> | 2016-01-08 00:06:03 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2016-01-08 00:06:03 +0000 |
commit | b4a8b4c401f644e412598597ff8e58553c79ffa9 (patch) | |
tree | 670f44bbe9406fa635edfc61e43d035661a759d3 /lldb/packages/Python/lldbsuite/test/driver/batch_mode/main.c | |
parent | 6f455290465f4e1f9094769d496fc9734a2cfc33 (diff) | |
download | bcm5719-llvm-b4a8b4c401f644e412598597ff8e58553c79ffa9.tar.gz bcm5719-llvm-b4a8b4c401f644e412598597ff8e58553c79ffa9.zip |
Performance improvement: Change lldb so that it puts a breakpoint
on the first branch instruction after a function return (or the end
of a source line), instead of a breakpoint on the return address,
to skip an extra stop & start of the inferior process.
I changed Process::AdvanceAddressToNextBranchInstruction to not
take an optional InstructionList argument - no callers are providing
a cached InstructionList today, and if this function was going to
do that, the right thing to do would be to fill out / use a
DisassemblerSP which is a disassembler with the InstructionList for
this address range.
http://reviews.llvm.org/D15708
<rdar://problem/23309838>
llvm-svn: 257117
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/driver/batch_mode/main.c')
0 files changed, 0 insertions, 0 deletions