[clang] [llvm] [RISCV][Zicfilp] Enable Zicfilp CFI compiler behaviors by looking at module flags (PR #152121)

Ming-Yi Lai via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 21 01:49:11 PDT 2025


mylai-mtk wrote:

Update: Model ZICFILP-func-sig and ZICFILP-unlabeled as real target features

Reason: During my prototyping of some ELF header field emission (cf. riscv-non-isa/riscv-elf-psabi-doc#474), and I found that in the emission function only "real" target features could be accessed, so I think it's better to just consolidate the module flags into real target features. 

https://github.com/llvm/llvm-project/pull/152121


More information about the cfe-commits mailing list