Folkert de Vries
10aa255541
improve error messages for C-cmse-nonsecure-entry
functions
2024-10-14 22:32:32 +02:00
Tamme Dittrich
47293c1234
Check ABI target compatibility for function pointers
...
This check was previously only performed on functions not function pointers.
Co-authored-by: Folkert <folkert@folkertdev.nl>
2024-09-23 14:04:22 +02:00
Folkert
4d75a4f0f2
disallow cmse ABIs on unsupported platforms
2024-09-21 13:05:23 +02:00
Folkert
a33dcb3607
add test that accepts a C-cmse-nonsecure-call
function pointer
2024-09-21 13:05:23 +02:00
Folkert
5722a80782
remove #[cmse_nonsecure_entry]
2024-09-21 13:05:21 +02:00
Folkert de Vries
46115fd6d3
fix ICE in CMSE type validation
2024-09-07 10:53:59 +02:00
Folkert
c2894a4297
improve error reporting
2024-07-18 14:32:10 +02:00
Folkert
7b63734961
move CMSE validation to hir_analysis
2024-07-18 12:42:40 +02:00
Folkert
8a3dd7fb5f
add test for unions and repr(transparent) with ZST fields
2024-07-17 21:21:33 +02:00
Folkert
5f0f690bd6
add test for repr(transparent) enum
2024-07-17 15:41:16 +02:00
Folkert
1e8606408d
add more tests for cmse-nonsecure-call
stack spills
2024-07-16 17:18:33 +02:00
Folkert
50ba821e12
add rust error message for CMSE stack spill
...
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
2024-07-16 15:58:33 +02:00
许杰友 Jieyou Xu (Joe)
ec2cc761bc
[AUTO-GENERATED] Migrate ui tests from //
to //@
directives
2024-02-16 20:02:50 +00:00
Oli Scherer
eab2adb660
Continue to borrowck even if there were previous errors
2024-02-08 08:10:43 +00:00
George-lewis
d56cdd48cb
Bless tests
...
Update tests
2024-01-13 12:46:58 -05:00
Nilstrieb
41e8d152dc
Show number in error message even for one error
...
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00