aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/APIntTest.cpp
diff options
context:
space:
mode:
authorMing-Yi Lai <ming-yi.lai@mediatek.com>2025-05-19 18:39:31 +0800
committerGitHub <noreply@github.com>2025-05-19 18:39:31 +0800
commitc28d6c2f5fefa13e7c7efd245ace2698e47a494c (patch)
treeb16b7a27fc03c8a4d29c121e1c8a2d1756ddbf03 /llvm/unittests/ADT/APIntTest.cpp
parentc27e10fa65f76f5868da14c818f7cd021624ae8f (diff)
downloadllvm-c28d6c2f5fefa13e7c7efd245ace2698e47a494c.zip
llvm-c28d6c2f5fefa13e7c7efd245ace2698e47a494c.tar.gz
llvm-c28d6c2f5fefa13e7c7efd245ace2698e47a494c.tar.bz2
[Clang][RISCV] Add Zicfilp CFI unlabeled scheme preprocessor macros (#109600)
This patch adds preprocessor macros when Zicfilp CFI is enabled. To be specific: + `#define __riscv_landing_pad 1` when `-fcf-protection=[full|branch]` + `#define __riscv_landing_pad_unlabeled 1` when `-fcf-protection=[full|branch] -mcf-branch-label-scheme=unlabeled` The macros are proposed in riscv-non-isa/riscv-c-api-doc#76 , and the CLI flags are from riscv-non-isa/riscv-toolchain-conventions#54.
Diffstat (limited to 'llvm/unittests/ADT/APIntTest.cpp')
0 files changed, 0 insertions, 0 deletions