[PATCH] D116070: [X86] Enable ibt-seal optimization when LTO is used in Kernel
Xiang Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 21 17:28:23 PST 2021
xiangzhangllvm added a comment.
Thanks for this optimization. The logic is clear on base of "the kernel landscape is different as no PLTs are used"
================
Comment at: llvm/lib/Target/X86/X86IndirectBranchTracking.cpp:124
+ default:
+ return (F.hasAddressTaken() || !F.hasLocalLinkage());
+ }
----------------
Not sure what the action if a function both has local and external call.
Can this be replace with "hasExternalLinkage" ?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116070/new/
https://reviews.llvm.org/D116070
More information about the llvm-commits
mailing list