summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-06-28 11:04:45 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-06-28 11:04:45 +0000
commitba7b824939e6c0f4fac7d0d7ba816e09052fd480 (patch)
tree72fc0d041ab40401c3aa013e10c96ffb497cdb91 /lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
parentb03ed5e41490b2654aac53569d742d6cef44ad66 (diff)
downloadbcm5719-llvm-ba7b824939e6c0f4fac7d0d7ba816e09052fd480.tar.gz
bcm5719-llvm-ba7b824939e6c0f4fac7d0d7ba816e09052fd480.zip
[clangd] Fix a data race in TUScheduler
By recomputing CompilerInvocation instead of copying it. The problem was caused by the fact that copies of CompilerInvocation store references to the shared state (DiagnosticOptions) when copied, causing data races when two different copies are destroyed from different threads. llvm-svn: 335836
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud