[lld] [llvm] [RISCV] Support .note.gnu.property for enable Zicfiss and Zicfilp extension (PR #77414)

Yeting Kuo via llvm-commits llvm-commits at lists.llvm.org
Mon May 13 10:08:53 PDT 2024


================
@@ -118,6 +147,19 @@ void RISCVTargetELFStreamer::finish() {
   }
 
   MCA.setELFHeaderEFlags(EFlags);
+
+  unsigned GNUNoteFlags = 0;
+
+  // check ZICFILP or ZICFISS with features
+  // TODO should we check with codegen enable ex. -mllvm
----------------
yetingk wrote:

@SuHo-llrr shadow stack depends on -fsanitize=shadow-call-stack. I think you need to also check this.

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


More information about the llvm-commits mailing list