[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


================
@@ -1044,3 +1044,8 @@ def FeatureTaggedGlobals : SubtargetFeature<"tagged-globals",
     "AllowTaggedGlobals",
     "true", "Use an instruction sequence for taking the address of a global "
     "that allows a memory tag in the upper address bits">;
+
+def FeatureForcedSWShadowStack : SubtargetFeature<
+    "forced-sw-shadow-stack", "HasForcedSWShadowStack", "true",
----------------
ilovepi wrote:

Should the default be `false`?

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


More information about the cfe-commits mailing list