[lld] [llvm] [lld][LTO] Teach LTO to print pipeline passes (PR #101018)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 09:52:52 PDT 2024


macurtis-amd wrote:

> It looks like from clang this is triggered by an internal LLVM option (`-print-pipeline-passes`). Since this is a debugging functionality, rather than add another LLD option can you just make the LTO code be guarded by the same option? Then it can just be triggered via `-Wl,-mllvm,-print-pipeline-passes`, and the advantage is that the internal option can then also be used from other linkers such as gold.

Thanks for the feedback. Latest revision reuses `-print-pipeline-passes` as you suggested.

https://github.com/llvm/llvm-project/pull/101018


More information about the llvm-commits mailing list