diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-07-13 16:32:31 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-07-13 16:32:31 +0000 |
| commit | ca8c2f7638691ce6b306333de0bce5438e81ce87 (patch) | |
| tree | a68860fdc0acc55a031a750db3437094982fcaae /llvm/lib/Object | |
| parent | 1ad0e9f039c85a4bc7b0f7170b04eb562338c608 (diff) | |
| download | bcm5719-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 'llvm/lib/Object')
0 files changed, 0 insertions, 0 deletions

