summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2016-01-08 21:40:11 +0000
committerJason Molenda <jmolenda@apple.com>2016-01-08 21:40:11 +0000
commitfd4cea53d585904c58aef9c35b4a14f755bb30a9 (patch)
treecbc7308d16a75cc459d0f84510c21cb1cf80d4f4 /lldb/packages/Python/lldbsuite/test
parentdae3c571894eaab432ef3c2a21da85576c8e13ef (diff)
downloadbcm5719-llvm-fd4cea53d585904c58aef9c35b4a14f755bb30a9.tar.gz
bcm5719-llvm-fd4cea53d585904c58aef9c35b4a14f755bb30a9.zip
Re-apply r257117 (reverted in r257138 temporarily),
with the one change that ThreadPlanStepOut::ThreadPlanStepOut will now only advance the return address breakpoint to the end of a source line, if we have source line debug information. It will not advance to the end of a Symbol if we lack source line information. This, or the recognition of the LEAVE instruction in r257209, would have fixed the regression that Siva was seeing. Both were good changes, so I've made both. Original commit message: 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: 257210
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud