[PATCH] D128093: [lld-macho] Initial support for Linker Optimization Hints

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 10:15:44 PDT 2022


thakis added a comment.

In D128093#3599802 <https://reviews.llvm.org/D128093#3599802>, @int3 wrote:

>> The added overhead on linking Chromium is 200 milliseconds on my M1 <https://reviews.llvm.org/M1> Mac mini, which accounts for about 4% of the total runtime.
>
> Is there measurable overhead when `-ignore_optimization_hints` is passed? I'm wondering about the overhead from increasing the Reloc struct size
>
> 4% overhead is not such a big deal IMO if we can disable it in developer builds (though the fact that it's enabled by default is unfortunate)

(This makes sense to me, FWIW!)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128093/new/

https://reviews.llvm.org/D128093



More information about the llvm-commits mailing list