mirror of
https://github.com/fluencelabs/musl
synced 2025-06-26 21:22:11 +00:00
if same register is used for input/output, the compiler must be told. otherwise is generates random junk code that clobbers the result. in pure syscall-wrapper functions, nothing went wrong, but in more complex functions where register allocation is non-trivial, things broke badly.