Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[arm] one more attempt to fix slotsize issue on llvmonly (mono#14444)
* [arm] one more attempt to fix slotsize issue on llvmonly Regression of mono#12992 & mono#14362 In the end, the actual fix boils down to: ```patch --- a/mono/mini/mini-arm.c +++ b/mono/mini/mini-arm.c @@ -2374,7 +2374,7 @@ mono_arch_get_llvm_call_info (MonoCompile *cfg, MonoMethodSignature *sig) lainfo->nslots = ALIGN_TO (ainfo->struct_size, 8) / 8; lainfo->esize = 8; } else { - lainfo->nslots = ainfo->struct_size / sizeof (target_mgreg_t); + lainfo->nslots = ALIGN_TO (ainfo->struct_size, sizeof (target_mgreg_t)) / sizeof (target_mgreg_t); lainfo->esize = 4; } break; ``` Tested on `xamarin-macios/arm64_32-v3` branch: * mscorlib * mini * dont link * monotouch tests * and a modified version of mono#8486 (comment) (added larger structs too) with each device, Watch Series 3 (`armv7k`) and Watch Series 4 (`arm64_32`). I hope that is the last iteration on this. * remove arm64_32_abi
- Loading branch information