[llvm] [BOLT][BTI] Refactor: move applyBTIFixup under MCPlusBuilder (PR #177164)
Gergely Bálint via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 27 04:06:57 PST 2026
bgergely0 wrote:
we only patch PLTs that are targeted by long/short stubs. E.g. they are the target of indirect branches. To keep BTI consistent, whenever BOLT inserts a new indirect branch, it should patch the target.
If the target is a PLT, that is a special case covered by a function that patches them.
https://github.com/llvm/llvm-project/pull/177164
More information about the llvm-commits
mailing list