HomePhabricator

In thin and full LTO + CFI, direct function calls may go through jump table

Description

In thin and full LTO + CFI, direct function calls may go through jump table
entries to reach the target. Since these calls don't require type checks,
we can short-circuit them to their real targets.

Differential Revision: https://reviews.llvm.org/D46326

Details

Committed
dmikulinMay 17 2018, 7:29 AM
Differential Revision
D46326: ThinLTO+CFI: short-circuit direct calls to jump table entries
Parents
rL332609: [clang-tidy] Add a flag to enable alpha checkers
Branches
Unknown
Tags
Unknown