summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-04-02 18:44:58 +0000
committerGreg Clayton <gclayton@apple.com>2015-04-02 18:44:58 +0000
commitc00ca313fde334bf42af35dae9e870e90fffd278 (patch)
tree542b27011c4d0738f6e5d924c86218aad378d3bc /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentb0a650aca2a4dac71aa881cbdac2477c5cfbccfe (diff)
downloadbcm5719-llvm-c00ca313fde334bf42af35dae9e870e90fffd278.tar.gz
bcm5719-llvm-c00ca313fde334bf42af35dae9e870e90fffd278.zip
Fix a crasher that could happen when you run LLDB and evaluate an expression where the objective C runtime registers a helper function, and also have an Objective C or C++ exception breakpoint. When shutting down the process in Process::Finalize() we clear a STL collection class and that causes objects to be destroyed that could re-enter Process and cause it to try to iterate over that same collection class that is being destroyed.
Guard against this by setting a new "m_finalizing" flag that lets us know we are in the process of finalizing. <rdar://problem/20369152> llvm-svn: 233935
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud