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 @@ -241,9 +241,9 @@ void RISCVTargetInfo::getTargetDefines(const LangOptions &Opts,
241241
242242 // Macros for CHERIoT in the default and bare-metal ABIs.
243243 if (ABI == " cheriot" || ABI == " cheriot-baremetal" )
244- Builder.defineMacro (" __CHERIOT__" , " 20250113 " );
244+ Builder.defineMacro (" __CHERIOT__" , " 20250215 " );
245245 if (ABI == " cheriot-baremetal" )
246- Builder.defineMacro (" __CHERIOT_BAREMETAL__" , " 20250113 " );
246+ Builder.defineMacro (" __CHERIOT_BAREMETAL__" , " 20250215 " );
247247
248248 Builder.defineMacro (" __riscv_clen" , Twine (getCHERICapabilityWidth ()));
249249 // TODO: _MIPS_CAP_ALIGN_MASK equivalent?
Original file line number Diff line number Diff line change 320320// Check for CHERIoT-specific defines
321321// 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
322322// 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
325325
326326
327327// 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