[all-commits] [llvm/llvm-project] 335e68: [Clang][RISCV] Support -fcf-protection=return for ...
Jesse Huang via All-commits
all-commits at lists.llvm.org
Tue Oct 29 00:48:11 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 335e68d8bce5ad3f5d6471c0ec1423211c71c0f0
https://github.com/llvm/llvm-project/commit/335e68d8bce5ad3f5d6471c0ec1423211c71c0f0
Author: Jesse Huang <jesse.huang at sifive.com>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M clang/lib/Basic/Targets/RISCV.h
M clang/lib/CodeGen/Targets/RISCV.cpp
A clang/test/CodeGen/RISCV/attr-hw-shadow-stack.c
Log Message:
-----------
[Clang][RISCV] Support -fcf-protection=return for RISC-V (#112477)
Enables the support of `-fcf-protection=return` on RISC-V, which
requires Zicfiss. It also adds a string attribute "hw-shadow-stack"
to every function if the option is set on RISC-V
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list