[PATCH] D140035: [X86] Prevent -mibt-seal to work together with -flto=thin

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 19 16:53:27 PST 2022


MaskRay added a comment.

I did not notice this patch (and https://github.com/ClangBuiltLinux/linux/issues/1737#issuecomment-1310741237) but make a comment yesterday while studying CFI schemes in llvm-project: https://reviews.llvm.org/D116070#4004060

As mentioned, the `isUsedInRegularObj` issue makes `-mibt-seal` not working with regular LTO as well. So it works with neither LTO mode.
I suggest that we remove the option until the issues are all sorted out.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140035



More information about the cfe-commits mailing list