summaryrefslogtreecommitdiffstats
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2018-07-13 16:32:31 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2018-07-13 16:32:31 +0000
commitca8c2f7638691ce6b306333de0bce5438e81ce87 (patch)
treea68860fdc0acc55a031a750db3437094982fcaae /libcxx/include/algorithm
parent1ad0e9f039c85a4bc7b0f7170b04eb562338c608 (diff)
downloadbcm5719-llvm-ca8c2f7638691ce6b306333de0bce5438e81ce87.tar.gz
bcm5719-llvm-ca8c2f7638691ce6b306333de0bce5438e81ce87.zip
Revert "CallGraphSCCPass: iterate over all functions."
This reverts commit r336419: use-after-free on CallGraph::FunctionMap elements due to the use of a stale iterator in CGPassManager::runOnModule. The iterator may be invalidated if a pass removes a function, ex.: llvm::LegacyInlinerBase::inlineCalls inlineCallsImpl llvm::CallGraph::removeFunctionFromModule llvm-svn: 337018
Diffstat (limited to 'libcxx/include/algorithm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud