File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -246,9 +246,9 @@ void RISCVTargetInfo::getTargetDefines(const LangOptions &Opts,
246
246
247
247
// Macros for CHERIoT in the default and bare-metal ABIs.
248
248
if (ABI == " cheriot" || ABI == " cheriot-baremetal" )
249
- Builder.defineMacro (" __CHERIOT__" , " 20250113 " );
249
+ Builder.defineMacro (" __CHERIOT__" , " 20250215 " );
250
250
if (ABI == " cheriot-baremetal" )
251
- Builder.defineMacro (" __CHERIOT_BAREMETAL__" , " 20250113 " );
251
+ Builder.defineMacro (" __CHERIOT_BAREMETAL__" , " 20250215 " );
252
252
253
253
Builder.defineMacro (" __riscv_clen" , Twine (getCHERICapabilityWidth ()));
254
254
// TODO: _MIPS_CAP_ALIGN_MASK equivalent?
Original file line number Diff line number Diff line change 320
320
// Check for CHERIoT-specific defines
321
321
// RUN: %clang_cc1 %s -o - "-triple" "riscv32-unknown-unknown" "-emit-llvm" "-mframe-pointer=none" "-mcmodel=small" "-target-cpu" "cheriot" "-target-feature" "+xcheri" "-target-feature" "-64bit" "-target-feature" "-relax" "-target-feature" "-xcheri-rvc" "-target-feature" "-save-restore" "-target-abi" "cheriot" -E -dM < /dev/null | FileCheck -check-prefix CHERIOT %s
322
322
// RUN: %clang_cc1 %s -o - "-triple" "riscv32-unknown-unknown" "-emit-llvm" "-mframe-pointer=none" "-mcmodel=small" "-target-cpu" "cheriot" "-target-feature" "+xcheri" "-target-feature" "-64bit" "-target-feature" "-relax" "-target-feature" "-xcheri-rvc" "-target-feature" "-save-restore" "-target-abi" "cheriot-baremetal" -E -dM < /dev/null | FileCheck -check-prefixes CHERIOT,CHERIOT-BAREMETAL %s
323
- // CHERIOT-BAREMETAL: #define __CHERIOT_BAREMETAL__ 20250113
324
- // CHERIOT: #define __CHERIOT__ 20250113
323
+ // CHERIOT-BAREMETAL: #define __CHERIOT_BAREMETAL__ 20250215
324
+ // CHERIOT: #define __CHERIOT__ 20250215
325
325
326
326
327
327
// RUN: %cheri128_cc1 -fgnuc-version=4.2.1 -E -dM -ffreestanding < /dev/null | FileCheck -check-prefixes CHERI-COMMON,CHERI-MIPS,CHERI128 %s
You can’t perform that action at this time.
0 commit comments