[cfe-commits] r143242 - /cfe/trunk/tools/libclang/CIndex.cpp

NAKAMURA Takumi geek4civic at gmail.com
Sat Oct 29 02:10:53 PDT 2011

2011/10/29 Argyrios Kyrtzidis <akyrtzi at gmail.com>:
> Author: akirtzidis
> Date: Fri Oct 28 17:54:33 2011
> New Revision: 143242
> URL: http://llvm.org/viewvc/llvm-project?rev=143242&view=rev
> Log:
> [libclang] Check for environment variable CINDEXTEST_NOTHREADS in clang_reparseTranslationUnit.
> Modified:
>    cfe/trunk/tools/libclang/CIndex.cpp

Index/crash-recovery-reparse.c would fail when CINDEXTEST_NOTHREADS=1.
(confirmed on linux)
Argyrios, is it expected?

On cygwin, I have to set CINDEXTEST_NOTHREADS=1, due to messy
multithreaded I/O on current cygwin-1.7.9a.

To confirm on Lit, you can add an environment variable in lit/TestingConfig.py.


More information about the cfe-commits mailing list