summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
diff options
context:
space:
mode:
authorPablo Barrio <pablo.barrio@arm.com>2016-08-26 13:00:39 +0000
committerPablo Barrio <pablo.barrio@arm.com>2016-08-26 13:00:39 +0000
commitb8ec6305835c3dab8e3de2224840bd404b982e89 (patch)
tree00ac96be597c477b70d460f5b3bbc658386bc447 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py
parentfdb0f39ae27e41116b0cb1dc81af608b3b39df29 (diff)
downloadbcm5719-llvm-b8ec6305835c3dab8e3de2224840bd404b982e89.tar.gz
bcm5719-llvm-b8ec6305835c3dab8e3de2224840bd404b982e89.zip
Handle empty functions with debug info in load/store opt pass
Summary: In fuctions that contained debug info but were empty otherwise, the ARM load/store optimizer could abort. This was because function MergeReturnIntoLDM handled the special case where a Machine Basic BLock is empty by calling MBB.empty(). However, this returns false in presence of debug info, although the function should be considered empty in the eyes of the load/store optimizer. This has been fixed by handling the case where searching through the block finds only debug instructions. Reviewers: rengolin, dexonsmith, llvm-commits, jmolloy Subscribers: t.p.northover, aemerson, rengolin, samparker Differential Revision: https://reviews.llvm.org/D23847 llvm-svn: 279820
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud