[LLVMdev] helpful pointer

Reed Kotler rkotler at mips.com
Sun Mar 3 17:51:43 PST 2013


Probably this should go in the docs somewhere or maybe the header files 
should be fixed.
I'm not sure what the original intent was.

If you want to use the debugging in

#include "llvm/Support/Debug.h"

You will most likely also want to include:

#include "llvm/Support/raw_ostream.h"

Otherwise you will not be able to print things like ints, only strings.

Reed




More information about the llvm-dev mailing list