andrew-johnson-4 / lambda-mountain

Compact Portable Assembler (5K SLOC)
MIT License
11 stars 0 forks source link

Return large arguments directly to return is unsound #514

Closed andrew-johnson-4 closed 6 days ago

andrew-johnson-4 commented 1 week ago
f := λ(: x X). (: x X);

there is an incompatible memory model at play with cdecl calling convention and large return values trying to return an argument.