[LLVMdev] Use -D_GLIBCXX_DEBUG

Chris Lattner sabre at nondot.org
Thu Jun 7 10:15:20 PDT 2007


On Thu, 7 Jun 2007, David A. Greene wrote:
> 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.

Ooh cool.  I'd strongly prefer that we fix the bugs in LLVM before 
enabling this :)

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list