[clang] [llvm] [RISCV] Add Zicfiss support to the shadow call stack implementation. (PR #68075)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 13:48:50 PST 2024


================
@@ -27,6 +27,11 @@
 // DEFAULT-NOT: "-target-feature" "-save-restore"
 // DEFAULT-NOT: "-target-feature" "+save-restore"
 
+// RUN: %clang --target=riscv32-unknown-elf -### %s -mforced-sw-shadow-stack 2>&1 | FileCheck %s -check-prefix=FORCE-SW-SCS
----------------
ilovepi wrote:

After commenting about defaults, we should probably test the default, too.

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


More information about the cfe-commits mailing list