[cfe-dev] libclang crashes when using TU with PCH

Argyrios Kyrtzidis akyrtzi at gmail.com
Fri May 24 18:42:28 PDT 2013


On May 16, 2013, at 11:39 PM, jaytee <aloha_arts at yahoo.com> wrote:

> The files are modified (or do no longer exist), after the PCH is created, but
> before the TU is generated.
> The TU is generated successfully, but libclang performs checks on the
> directory when I'm trying to retrieve location information from the TU,
> using clang_getInstantiationLocation or clang_getCursorExtent.
> I'm using clang 2.9.

This is rather old, I'd suggest you move to libclang from trunk.
If you are still seeing issues, please post code with a reduced test case.

> 
> Thank you!
> 
> 
> 
> --
> View this message in context: http://clang-developers.42468.n3.nabble.com/libclang-crashes-when-using-TU-with-PCH-tp4032121p4032153.html
> Sent from the Clang Developers mailing list archive at Nabble.com.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list