I want to analyze the source of performance improvement by analyzing optimization statistics. So I add a “–stats-file=” option in lld which can print statistics data into a file. The effect of this option is very similar to the following patch below: https://reviews.llvm.org/D45531.
Do we need an optimization statistics option for lld? If we need it, in whch folder should the test be added?
Thank you very much.