summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/support/gmodules.py
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-10-24 00:09:10 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-10-24 00:09:10 +0000
commit619b3269fdaffbcb298c4d7b33cda7109a2082d6 (patch)
treec5f75291d6ed989795f57eabeb6c9a7acb5ac999 /lldb/packages/Python/lldbsuite/support/gmodules.py
parent3d64d6ee54041e110c94a3bacc8ae1dc8114c9df (diff)
downloadbcm5719-llvm-619b3269fdaffbcb298c4d7b33cda7109a2082d6.tar.gz
bcm5719-llvm-619b3269fdaffbcb298c4d7b33cda7109a2082d6.zip
ObjCARC: do not increment past the end of the BB
The `BasicBlock::getFirstInsertionPt` call may return `std::end` for the BB. Dereferencing the end iterator results in an assertion failure "(!NodePtr->isKnownSentinel()), function operator*". Ensure that the returned iterator is valid before dereferencing it. If the end is returned, move one position backward to get a valid insertion point. llvm-svn: 316401
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/gmodules.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud