[llvm-branch-commits] IR: Introduce !elf_section_properties for setting section properties. (PR #149260)
Peter Collingbourne via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Aug 27 13:37:50 PDT 2025
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
More information about the llvm-branch-commits
mailing list