pcc wrote: At least for the use cases implemented so far, it would be valid to drop the metadata. For example, it could be dropped from CFI jump tables and the resulting binary would still be correct, it would just be less optimized because jump table relaxation could not be applied.
If a user would benefit from a higher likelihood of the metadata being preserved, they have the option of modifying passes such as ConstantMerge to skip globals that have this metadata. https://github.com/llvm/llvm-project/pull/149260 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits