[lld] [LLD][ELF][RISCV][Zicfilp][Zicfiss] Support `-z zicfilp=` and `-z zicfiss=` to force enable/disable features (PR #143114)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 6 22:49:17 PDT 2025


================
@@ -29,18 +36,33 @@
 # RUN: ld.lld f2-s.o f3.o --shared -o out.no.so --fatal-warnings
 # RUN: llvm-readelf -n out.no.so | count 0
 
+## ZICFILP-func-sig should be disabled with zicfilp=never, even if
+## ZICFILP-func-sig is present in all inputs
----------------
MaskRay wrote:

End complete sentences in comments with a full stop.

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


More information about the llvm-commits mailing list