[PATCH] D46326: ThinLTO+CFI: short-circuit direct calls to jump table entries
Dmitry Mikulin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 2 10:25:14 PDT 2018
dmikulin added a comment.
In https://reviews.llvm.org/D46326#1084593, @vlad.tsyrklevich wrote:
> Also adding a `FDecl->replaceDirectCalls(F)` in the else block after line 1016 seems like it would also correctly rewrite direct calls for the other two cases (external functions, and local functions declared in the current TU.)
Aren't the other cases captured by F->replaceUsesExceptBlockAddr(FDecl) at line 1016?
https://reviews.llvm.org/D46326
More information about the llvm-commits
mailing list