[cfe-dev] Clang segfaults in Linux kernel source code

Martin Doucha next_ghost at quick.cz
Fri Jul 18 12:42:03 PDT 2008


Hi,
clang segfaults when parsing mm/slab.c from Linux kernel. The segfault 
happens in lib/AST/ASTContext.cpp on line 379 because ATy is NULL when 
parsing initialization of global structure instance using GCC extension. 
Sample input (shortened mm/slab.c) and backtrace is included in the 
attachment.

Regards,
Martin Doucha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash.zip
Type: application/zip
Size: 8098 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080718/e6fd4e86/attachment.zip>


More information about the cfe-dev mailing list