[LLVMdev] Changes to the DEBUG macro.

Chris Lattner sabre at nondot.org
Fri Aug 1 17:29:01 PDT 2003

This is an important change for people using the DEBUG macro (which should
be all of you :).  The critical piece is that you now need to #include
"Support/Debug.h" to get access to DEBUG, not "Support/Statistic.h".

In addition to this change, you can now make the DEBUG output much more
fine-grained than before.  For details, consult the programmer's guide:

This feature was requested by Misha, because whenever he enabled -debug in
the code generator, he got all kinds of debug output from all of the
different components of it.  Now he can classify debug output into
different types, and only turn on subsets of the information.




More information about the llvm-dev mailing list