[LLVMdev] llc debug info
Jim Grosbach
grosbach at apple.com
Wed Mar 12 11:12:29 PDT 2014
Have you tried passing -debug?
On Mar 12, 2014, at 3:57 AM, 徐偉哲 <daniel60602 at gmail.com> wrote:
> I can generate debug info using opt like this:
> opt < a.bc > /dev/null -mypass -debug
>
> But I don't know how to do it using llc.
> I check http://llvm.org/docs/CommandGuide/llc.html
> there are not any information about debug flags.
>
> Purpose
> EX:
> I want to print all the DEBUG(dbgs()......) in llvm/lib/CodeGen/RegAllocGreedy.cpp .
> What should I do?
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140312/31bf502e/attachment.html>
More information about the llvm-dev
mailing list