You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when the `C-cmse-nonsecure-call` ABI is used, arguments and return values must be passed via registers. Failing to do so (i.e. spilling to the stack) causes an LLVM error down the line, but now rustc will properly emit an error a bit earlier in the chain
Copy file name to clipboardExpand all lines: compiler/rustc_codegen_ssa/messages.ftl
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,18 @@ codegen_ssa_cgu_not_recorded =
16
16
17
17
codegen_ssa_check_installed_visual_studio = please ensure that Visual Studio 2017 or later, or Build Tools for Visual Studio were installed with the Visual C++ option.
18
18
19
+
codegen_ssa_cmse_call_inputs_stack_spill =
20
+
arguments for `C-cmse-nonsecure-call` function too large to pass via registers
21
+
.label = this function uses the `C-cmse-nonsecure-call` ABI
22
+
.call = but its arguments don't fit in the available registers
23
+
.note = functions with the `C-cmse-nonsecure-call` ABI must pass all their arguments via the 4 32-bit available argument registers
24
+
25
+
codegen_ssa_cmse_call_output_stack_spill =
26
+
return value of `C-cmse-nonsecure-call` function too large to pass via registers
27
+
.label = this function uses the `C-cmse-nonsecure-call` ABI
28
+
.call = but its return value doesn't fit in the available registers
29
+
.note = functions with the `C-cmse-nonsecure-call` ABI must pass their result via the available return registers
30
+
19
31
codegen_ssa_compiler_builtins_cannot_call =
20
32
`compiler_builtins` cannot call functions through upstream monomorphizations; encountered invalid call from `{$caller}` to `{$callee}`
0 commit comments