[llvm-dev] How to enable the -debug flag?

Craig Topper via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 4 13:40:40 PST 2019


The debug flag only exists when built with assertions enabled. It doesn't
exist on a "release" build.

~Craig


On Fri, Jan 4, 2019 at 1:29 PM m m via llvm-dev <llvm-dev at lists.llvm.org>
wrote:

> Hi,
> I'm getting this error when I try to run llc with the '-debug' flag:
>
> llc: Unknown command line argument '-debug'.  Try: 'llc -help'
>
> Any idea what is causing this? I'm using LLVM 3
>
> Thanks.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190104/4d15419d/attachment.html>


More information about the llvm-dev mailing list