commit | 23fe501b65c273a54f2478b073d8bd102c2bd451 | [log] [tgz] |
---|---|---|
author | Diego Astiazaran <diegoaat97@gmail.com> | Thu Aug 08 17:14:17 2019 +0000 |
committer | Diego Astiazaran <diegoaat97@gmail.com> | Thu Aug 08 17:14:17 2019 +0000 |
tree | 1d7805f1dc418414cb27459e2411e5a5e6c33d0d | |
parent | 8bead2ddbf99a700065985b8cdb7e6b3ba928456 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@368313 91177308-0d34-0410-b5e6-96231b3b80d8