[llvm-branch-commits] [llvm][fatlto] Drop any CFI related instrumentation after emitting bitcode (PR #112788)
Paul Kirth via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 17 15:32:54 PDT 2024
https://github.com/ilovepi created https://github.com/llvm/llvm-project/pull/112788
We want to support CFI instrumentation for the bitcode section, without
miscompiling the object code portion of a FatLTO object. We can reuse
the existing mechanisms in the LowerTypeTestsPass to do that, by just
adding the pass to the FatLTO pipeline after the EmbedBitcodePass with
the correct options set.
Fixes #112053
More information about the llvm-branch-commits
mailing list