[cfe-commits] RangeConstraintManager

Ted Kremenek kremenek at apple.com
Fri Feb 13 11:09:06 PST 2009


On Feb 13, 2009, at 9:01 AM, Ben Laurie wrote:

>> Please don't use iostream (if you can help it).  Not only does it's
>> performance suck, but it slows down startup time:
>>
>> http://llvm.org/docs/CodingStandards.html#ll_iostream
>
> OK ... how do I activate debugging (DOUT and DEBUG)?


Here are the relevant #defines as given in Makefile.rules:

# If DISABLE_ASSERTIONS=1 is specified (make command line or  
configured),
# then disable assertions by defining the appropriate preprocessor  
symbols.
ifdef DISABLE_ASSERTIONS
   BuildMode := $(BuildMode)-Asserts
   CPP.Defines += -DNDEBUG
else
   CPP.Defines += -D_DEBUG
endif


So "NDEBUG" and "_DEBUG".



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090213/04b3360d/attachment.html>


More information about the cfe-commits mailing list