We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46ef828 commit 8581eb8Copy full SHA for 8581eb8
clang/lib/Headers/cheri_init_globals.h
@@ -51,7 +51,7 @@ static const __SIZE_TYPE__ function_reloc_flag = (__SIZE_TYPE__)1
51
<< (__SIZE_WIDTH__ - 1);
52
static const __SIZE_TYPE__ constant_reloc_flag = (__SIZE_TYPE__)1
53
<< (__SIZE_WIDTH__ - 2);
54
-#ifdef __riscv_xcheri
+#if defined(__riscv_xcheri) || defined(__mips__)
55
static const __SIZE_TYPE__ function_pointer_permissions_mask =
56
~(__SIZE_TYPE__)(__CHERI_CAP_PERMISSION_PERMIT_SEAL__ |
57
__CHERI_CAP_PERMISSION_PERMIT_STORE_CAPABILITY__ |
0 commit comments