diff options
author | Greg Clayton <gclayton@apple.com> | 2015-04-02 18:44:58 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-04-02 18:44:58 +0000 |
commit | c00ca313fde334bf42af35dae9e870e90fffd278 (patch) | |
tree | 542b27011c4d0738f6e5d924c86218aad378d3bc /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | b0a650aca2a4dac71aa881cbdac2477c5cfbccfe (diff) | |
download | bcm5719-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