[LLVMdev] How to print debug info to stdout?

Michael Zolotukhin mzolotukhin at apple.com
Tue May 6 23:25:59 PDT 2014


Hi,

Maybe this page will answer your questions:
http://llvm.org/docs/ProgrammersManual.html#the-debug-macro-and-debug-option

Michael

On May 7, 2014, at 9:04 AM, Fan Zhang <zhangfan0726 at gmail.com> wrote:

> Hi, Dear all
> 
> I am debuging my frontend and I want to print the debug information. Like when using 
> opt -debug -loop-vectorize xxx.ll
> 
> the -debug prints the detailed logs of the loop vectorize pass and that is what I want to do in my code. 
> 
> Could anyone provide some "how-to" information to me?
> 
> Thanks.
> 
> -- 
> Fan Zhang
> Department of Computer Science
> University of South Carolina, Columbia
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list