[LLVMdev] [PATCH] Implement dbgs()

David Greene dag at cray.com
Mon Dec 21 08:01:31 PST 2009

On Saturday 19 December 2009 00:16, Chris Lattner wrote:

> > Or I think I can just assume (Yikes!) that if the signal handler is
> > invoked it will really be a circular_raw_ostream since the handler
> > should (!) only be set up in debug mode.
> >
> > That scares me a bit, though.
> Why don't you just check #ifndef NDEBUG like the code that sets it up?

It's under #ifndef NDEBUG right now.  My worry is that this kind of thing
is fragile.


More information about the llvm-dev mailing list