[llvm-dev] How to print all pass when using -flto floag ?
PenYiWang via llvm-dev
llvm-dev at lists.llvm.org
Thu Feb 27 03:22:23 PST 2020
Thank You~
it works
Hiroshi Yamauchi <yamauchi at google.com> 於 2020年2月26日 週三 上午12:49寫道:
> I am not sure but passing either of
>
> "-Wl,-mllvm,-debug-pass=Structure"
> "-Wl,-mllvm,-plugin-opt,-debug-pass=Structure"
> "-Wl,-mllvm,-plugin-opt=-debug-pass=Structure"
>
> may work.
>
> On Mon, Feb 24, 2020 at 10:20 PM PenYiWang via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> 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.
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> https://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/20200227/6b01c0c9/attachment.html>
More information about the llvm-dev
mailing list