[clang] [Clang][RISCV] Support -fcf-protection=return for RISC-V (PR #112477)
Ming-Yi Lai via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 27 19:46:32 PDT 2024
================
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -triple riscv64-linux-unknown -target-feature +zimop -emit-llvm -o - %s -fcf-protection=return | FileCheck %s
+// RUN: %clang_cc1 -triple riscv64-linux-unknown -target-feature +zimop -emit-llvm -o - %s | FileCheck -check-prefix=NOSHADOWSTACK %s
----------------
mylai-mtk wrote:
Add riscv32 tests
https://github.com/llvm/llvm-project/pull/112477
More information about the cfe-commits
mailing list