[cfe-commits] r111451 - in /cfe/trunk: include/clang/Frontend/ASTUnit.h test/Index/Inputs/crash-recovery-reparse-remap.c test/Index/crash-recovery-reparse.c tools/libclang/CIndex.cpp

Argyrios Kyrtzidis kyrtzidis at apple.com
Thu Aug 19 05:31:20 PDT 2010


On Aug 19, 2010, at 12:09 AM, Daniel Dunbar wrote:

> Author: ddunbar
> Date: Wed Aug 18 18:09:31 2010
> New Revision: 111451
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=111451&view=rev
> Log:
> libclang: Put clang_reparseTranslationUnit inside a crash recovery context.
> 
> Added:
>    cfe/trunk/test/Index/Inputs/crash-recovery-reparse-remap.c
>    cfe/trunk/test/Index/crash-recovery-reparse.c
> Modified:
>    cfe/trunk/include/clang/Frontend/ASTUnit.h
>    cfe/trunk/tools/libclang/CIndex.cpp

'crash-recovery-reparse.c' test randomly hangs and consumes all available memory bringing the system to a halt.
(By randomly I mean something like 1 out of 4 test runs.)

Can you please take a look at it ?

-Argiris



More information about the cfe-commits mailing list