[llvm-dev] Run llc with -debug flag

Nemanja Ivanovic via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 21 10:42:54 PDT 2018


llc accepts all the -debug variants when built with asserts (or debug
build). It will accept -debug as well as -debug=prologepilog for your case.

On Wed, Mar 21, 2018 at 7:27 AM, Meet Udeshi via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> I want to check debug output of "PrologEpilogInserter" machine pass, and I
> have seen in the code that there are various `DEBUG` macros added.
>
> However, there is no `-debug` option present for `llc` like it is for
> `opt`. Closest option I saw after seeing output of `llc --help-list` is
> `-verify-debug-info` but that does not give any output.
>
> Regards,
> Meet.
>
> _______________________________________________
> 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/20180321/f1f74213/attachment.html>


More information about the llvm-dev mailing list