diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2018-06-28 11:04:45 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2018-06-28 11:04:45 +0000 |
commit | ba7b824939e6c0f4fac7d0d7ba816e09052fd480 (patch) | |
tree | 72fc0d041ab40401c3aa013e10c96ffb497cdb91 /lldb/packages/Python/lldbsuite/test/python_api/signals | |
parent | b03ed5e41490b2654aac53569d742d6cef44ad66 (diff) | |
download | bcm5719-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/signals')
0 files changed, 0 insertions, 0 deletions