diff options
author | Ming-Yi Lai <ming-yi.lai@mediatek.com> | 2024-09-26 18:30:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-26 18:30:43 +0800 |
commit | 9f33eb861a3d17fd92163ee894f7cd9f256d03fb (patch) | |
tree | e81f0cec7a13842d45bc8de1413f3e51398dc55d /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 497523b695d06c8bf9f3aaf5a5cb4414a5b0625b (diff) | |
download | llvm-9f33eb861a3d17fd92163ee894f7cd9f256d03fb.zip llvm-9f33eb861a3d17fd92163ee894f7cd9f256d03fb.tar.gz llvm-9f33eb861a3d17fd92163ee894f7cd9f256d03fb.tar.bz2 |
[clang][RISCV] Introduce command line options for RISC-V Zicfilp CFI
This patch enables the following command line flags for RISC-V targets:
+ `-fcf-protection=branch` turns on forward-edge control-flow integrity conditioning
+ `-mcf-branch-label-scheme=unlabeled|func-sig` selects the label scheme used in the forward-edge CFI conditioning
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions