Asserts in Clang crashes my Kdevelop


Newbie here.
I'm trying to understand a few issues in kdevelop clang plugin, and for
that I would like to use clang in debug mode.
But when I compile 3.5.1 for Debug, asserts come too, and this give a crash
in kdevelop:

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffd73ea700 (LWP 7083)]
0x00007fffef77ba97 in raise () from /usr/lib/
#0 0x00007fffef77ba97 in raise () from /usr/lib/
#1 0x00007fffef77ce6a in abort () from /usr/lib/
#2 0x00007fffef7748bd in *__assert_fail_base* () from /usr/lib/
#3 0x00007fffef774972 in *__assert_fail* () from /usr/lib/
#4 0x00007fffaab15bd7 in clang::comments::Lexer::lexVerbatimBlockFirstLine
(this=0x7fffd73e85f0, T=...) at
#5 0x00007fffaab15e56 in clang::comments::Lexer::lexVerbatimBlockBody
(this=0x7fffd73e85f0, T=...) at
#6 0x00007fffaab1521c in clang::comments::Lexer::lexCommentText
(this=0x7fffd73e85f0, T=...) at
#7 0x00007fffaab16cc8 in clang::comments::Lexer::lex (this=0x7fffd73e85f0,
T=...) at

I just want to compile clang in debug mode without asserts.

How I compile:

svn co
cd llvm/tools
svn co *clang*
cd llvm/tools/clang/tools
svn co
cd llvm/projects
svn co

and in other folder , like clang_build
cd clang_build
-DPYTHON_EXECUTABLE=/usr/bin/python2.7 llvm (path to llvm)
make install

So, there is any way to compile in debug without asserts ?