diff options
author | Diego Astiazaran <diegoaat97@gmail.com> | 2019-08-08 17:14:17 +0000 |
---|---|---|
committer | Diego Astiazaran <diegoaat97@gmail.com> | 2019-08-08 17:14:17 +0000 |
commit | e2d4577075f67cd4cb0776c2d14d399e5d147666 (patch) | |
tree | 08491a93b249054306ce8b90db80abc9e107db09 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 09a7a627af08f00722aa3eeb20ee7530a178c61c (diff) | |
download | llvm-e2d4577075f67cd4cb0776c2d14d399e5d147666.zip llvm-e2d4577075f67cd4cb0776c2d14d399e5d147666.tar.gz llvm-e2d4577075f67cd4cb0776c2d14d399e5d147666.tar.bz2 |
[clang-doc] Protect Index with mutex during reducing and generation stage
Idx in ClangDocContext instance was being modified by multiple threads
causing a seg fault.
A mutex is added to avoid this.
Differential Revision: https://reviews.llvm.org/D65915
llvm-svn: 368313
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions