[cfe-dev] LibClang Crashing (4.00 and 4.01 RC1)

Dan Walmsley via cfe-dev cfe-dev at lists.llvm.org
Thu Jun 8 06:58:44 PDT 2017


Iv run libclang under Windbg to get more information.


   In some of my code files when I have incomplete code like with a call to a method...


```
Method(
```


I am getting this assertion (even on release build)


Program: ...lang\4.0.0.1\runtimes\win7-x64\native\libclang.DLL
File: C:\src\llvm_package_4.0.1-rc1\llvm\tools\cl.../ExprCXX.h
Line: 3416

Expression: !isImplicitAccess()

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)(13c98.12a30): Break instruction exception - code 80000003 (first chance)
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Users\danw.GRIDXITEKLTD\.nuget\packages\avalonstudio.languages.cplusplus.libclang\4.0.0.1\runtimes\win7-x64\native\libclang.DLL -
libclang!clang_defaultEditingTranslationUnitOptions+0x423b5:
00007fff`96c16855 cc              int     3


(This is from 4.0.1 rc1)



Here is a screenshot of callstack at this point...


https://files.gitter.im/VitalElement/AvalonStudio/3KGO/image.png

[https://files.gitter.im/VitalElement/AvalonStudio/3KGO/image.png]

Any ideas what is happening here:

What exactly is isImplicitAccess() method?

Any help or advice greatly appreciated.

Dan




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170608/bace9ee5/attachment.html>


More information about the cfe-dev mailing list