diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2018-02-14 15:19:20 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2018-02-14 15:19:20 +0000 |
commit | 12aa52fe22ad3c105d26eadfe0f8ddece61b84e9 (patch) | |
tree | 5e57ff1e2720aa004c791616b5d7460d677303d1 /clang/lib/Sema/SemaDeclCXX.cpp | |
parent | cc6d29d72cd53acd60cc1f32c6dd2d74863e2595 (diff) | |
download | bcm5719-llvm-12aa52fe22ad3c105d26eadfe0f8ddece61b84e9.tar.gz bcm5719-llvm-12aa52fe22ad3c105d26eadfe0f8ddece61b84e9.zip |
[clangd] Fix data race in ClangdThreadingTest.StressTest
Prior to this patch, same instance of VFS was shared for concurrent
processing of the files in ClangdThreadingTest.StressTest.
It caused a data race as the same instance of InMemoryFileSystem was
mutated from multiple threads using setCurrentWorkingDirectory().
llvm-svn: 325132
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions