summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Compression.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2016-05-26 16:51:23 +0000
committerGreg Clayton <gclayton@apple.com>2016-05-26 16:51:23 +0000
commit6c42e063122810b27438ca50e9791bfa754c12b5 (patch)
tree388b16d39972ea9b5a4fb82dd1d17bebe7c85b4f /llvm/lib/Support/Compression.cpp
parent6782e944d2fc072843a288944ac39d7f477883eb (diff)
downloadbcm5719-llvm-6c42e063122810b27438ca50e9791bfa754c12b5.tar.gz
bcm5719-llvm-6c42e063122810b27438ca50e9791bfa754c12b5.zip
Guard against the C++ destructor chain by not letting the debugger list clean up after itself in the C++ destructor chain.
If users call "static void lldb::SBDebugger::Terminate()" we will clean up the debugger list, and users can individually destroy debugger instances with "static void lldb::SBDebugger::Destroy(SBDebugger &)". But if we let the C++ destructor chain tear down this list, other threads that might still be running as the main thread exits can now crash if they access the debugger list. We stop this by leaking the debugger list and its mutex. <rdar://problem/26372169> llvm-svn: 270869
Diffstat (limited to 'llvm/lib/Support/Compression.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud