[pipelines] OptimizerEarlyEPCallbacks for ThinLTO prelink
authorVitaly Buka <vitalybuka@google.com>
Tue, 6 Sep 2022 03:31:43 +0000 (20:31 -0700)
committerVitaly Buka <vitalybuka@google.com>
Tue, 6 Sep 2022 22:54:04 +0000 (15:54 -0700)
commit181d408186cf1b198938f2f098ad5852e977d97b
treeb63d19f189d46a243060e65766a855efa775ff43
parente28a5ceca957ea0c40933db01cf0246c9c45bbe9
[pipelines] OptimizerEarlyEPCallbacks for ThinLTO prelink

Similar to OptimizerLastEPCallbacks workaround
added D96320.

Probably NFC as-is, I don't see anything hooked with this callbacks yet,
but I we are looking to move sanitizers.

Reviewed By: aeubanks, MaskRay

Differential Revision: https://reviews.llvm.org/D133333
llvm/lib/Passes/PassBuilderPipelines.cpp
llvm/test/Other/new-pm-thinlto-defaults.ll