[llvm] [bolt] Use --reorder-functions option directly (PR #179486)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 7 14:32:26 PDT 2026
maksfb wrote:
> > > I agree that we can mark the one as non-simple or set the one as ignored if we are not going to change entries. This approach only if we need to patch plt entries as for bti case.
> >
> >
> > Could you quickly remind me the BTI case? IIRC, for in-place update we can use patch functions, but what's the plan for out-of-place?
>
> As far as I remember for bti need to patch PLT entry and insert instruction
Sounds like we will have a patch function then? Those should automatically get excluded from optimizations.
https://github.com/llvm/llvm-project/pull/179486
More information about the llvm-commits
mailing list