[llvm-dev] How to print all pass when using -flto floag ?

PenYiWang via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 24 22:19:41 PST 2020


Hi

We knew that  "clang -mllvm -debug-pass=Structure ..." can print all pass'
name.

But,

when we use LTO , -flto flag  and gold plugin.

I found that the option " -debug-pass=Structure" would not pass to ld.

so it would not print all the LTO pass's name.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200225/f814bad3/attachment.html>


More information about the llvm-dev mailing list