[LLVMdev] Use -D_GLIBCXX_DEBUG

David A. Greene greened at obbligato.org
Thu Jun 7 09:52:23 PDT 2007


I just made a patch to our local llvm build here to pass -D_GLIBCXX_DEBUG when
building llvm.  This switch turns on debug code in libstdc++ that checks for
various violations.  We've already discovered several llvm bugs with it.  
Should I commit a change back to the official sources?  It will almost 
certainly cause tests to fail, but that's a GOOD thing.

                                                      -Dave



More information about the llvm-dev mailing list