[PATCH] D138337: Add support for kcfi-seal optimization with LTO

Sami Tolvanen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 15:48:09 PST 2022


samitolvanen added a comment.

In D138337#3972493 <https://reviews.llvm.org/D138337#3972493>, @pcc wrote:

> Isn't that just a bug in the optimization? It shouldn't be applying this to symbols where `VisibleToRegularObj` is set.

The current patch simply replicates ibt-seal behavior, but sure, looking at symbol resolution should solve this problem. I'll take a look when have some more time.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138337/new/

https://reviews.llvm.org/D138337



More information about the llvm-commits mailing list