[cfe-dev] LibClang unsaved file Crashing Windows

Dan Walmsley dan at walms.co.uk
Sun Jan 11 07:05:57 PST 2015


The error message is as follows:
"Assertion failed!"
Program.... libclang.dll File: stringRef.g Line 77,Expression Str && "StringRef cannot be built from a NULL argument".

From: dan at walms.co.uk
To: cfe-dev at cs.uiuc.edu
Date: Sun, 11 Jan 2015 14:37:17 +0000
Subject: [cfe-dev] LibClang unsaved file Crashing Windows




I am using libclang 3.5 and I am calling clang_ReparseTranslationUnit.
   It works if the array of unsaved files is length 0 or 1, but if the array is 2 or more in length I get:

I am calling this function from .NET. Can anyone assist me in working out what is causing this error?
Much appreciated
Dan 		 	   		  

_______________________________________________
cfe-dev mailing list
cfe-dev at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150111/91205c4f/attachment.html>


More information about the cfe-dev mailing list