[cfe-dev] libclang's Indexer assertion on translation unit in large C++ codebase
Douglas Gregor
dgregor at apple.com
Thu Aug 25 16:27:16 PDT 2011
On Aug 25, 2011, at 4:25 PM, Daniel Jennings wrote:
> I preprocessed the file using VS2008 (which is what we compile our projects in naturally) and ran that through libclang's indexer and got a different assertion:
>
> Program: c:\Python27-32\python.exe
> File: E:\llvm\include\llvm/Support/Casting.h
> Line: 194
> Expression: isa<X>(Val) && "cast<Ty>() argument of incompatible type!"
>
> Unfortunately the preprocessed file is 740kb, which isn't very usable when it comes to figuring out what's going on in the file, so I might have to try a different project and trim it down as much as possible, which might be difficult, to figure it out.
Delta can reduce preprocessed files fairly easily:
http://delta.tigris.org/
- Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110825/4b73214a/attachment.html>
More information about the cfe-dev
mailing list