mold
mold copied to clipboard
llvm lld compatibility --time-trace and --time-trace-file
given you were the author, i understand you are familiar with the --time-trace implementation and I was wondering if you were planning to add it to mold. https://reviews.llvm.org/D71060
I understand there is already a --perf flag that must be sufficient for you, so this is a hopeful and rather timid feature request
We can print out a time trace in JSON, but you still wouldn't be able to compare it with lld's output, since our internal structure is different from lld. It's not going to be an apple-to-apple comparison. So I wonder what is your motivation.
Note: https://reviews.llvm.org/D128451 (milestone: lld 15.0.0) added --time-trace= and removed --time-trace-file=.