Displaying 1 result from an estimated 1 matches for "dbgoutc".
Did you mean:
dbgout
2010 May 12
0
[LLVMdev] debug macros
...#define _dbg(x) x
#else
#define _dbg(x)
#endif
The other macro is just a slight variation on the existing DEBUG macro, but
for the common case of printing something out to the debug console, its
simpler to write, and in my opinion easier to read.
#define dbgout(x) DEBUG(dbgs()<<x)
#define dbgoutc(y,x) DEBUG_WITH_TYPE(x,dbgs()<<y)
-Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100512/5003077e/attachment.html>