summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/help/TestHelp.py
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2017-07-25 17:33:37 +0000
committerSean Callanan <scallanan@apple.com>2017-07-25 17:33:37 +0000
commitafc70ab3e204feb4b3e227d430b9ffa0be04e4e6 (patch)
treec840bb217631ac48407e6185e4213556268ba0be /lldb/packages/Python/lldbsuite/test/help/TestHelp.py
parentdafea67abd711f40028e86e3cb361d5d3f63e292 (diff)
downloadbcm5719-llvm-afc70ab3e204feb4b3e227d430b9ffa0be04e4e6.tar.gz
bcm5719-llvm-afc70ab3e204feb4b3e227d430b9ffa0be04e4e6.zip
[TypeSystem] Guard the global `ASTSourceMap` with a mutex
s_source_map in ClangExternalASTSourceCommon.cpp is unguarded and therefore can break in multithreaded conditions. This can cause crashes in particular if multiple targets are being set up at once. This patch wraps s_source_map in a function that ensures exclusivity, and makes every user of it use that function instead. <rdar://problem/33429774> lldb crashes after "resume_off" Differential Revision: https://reviews.llvm.org/D35083 llvm-svn: 308993
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/help/TestHelp.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud