<meta><div style="white-space:pre-wrap">Hi all.
</div><div style="white-space:pre-wrap">
</div><div style="white-space:pre-wrap">I noticed this is an option '--plugin-opt=disbale-output' in gold-plugin.cpp, when this option is enabled,  the field `PreOptModuleHook` of lto::Config will be set to `[](size_t Task, const Module &M) { return false; };` .
</div><div style="white-space:pre-wrap">And as the description of `PreOptModuleHook` says, the link process will exit right after linking (regular LTO) or loading (ThinLTO) the module, before modifying it.
</div><div style="white-space:pre-wrap">This is very useful when we only want to get optimization remarks of LTO and do not want to do the whole link process.
</div><div style="white-space:pre-wrap">
</div><div style="white-space:pre-wrap">Is there a LLD counterpart option to '--plugin-opt=disbale-output' option of <a href="http://llvmgold.so/" target="_blank" rel="noopener noreferrer" style="margin-right:2px;text-decoration:none;color:rgb(51,112,255)">LLVMgold.so</a> or any similar option ?
</div><div style="white-space:pre-wrap">
</div><div style="white-space:pre-wrap">Regards,
</div><div style="white-space:pre-wrap"><span style="font-size:14px"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(31,35,41)">Xu Mingjie @ ByteDance</span></span></span>
</div>