x/tools/go/analysis/passes/asmdecl: allow syscall write registers implicitly #69352
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Go version
master
Output of
go env
in your module/workspace:What did you do?
Consider compile this fucntion with syscall only
src/runtime/sys_linux_riscv64.s
What did you see happen?
./sys_linux_riscv64.s:395:1: [riscv64] rt_sigaction: RET without writing to result register
What did you expect to see?
Build complete.
ECAL
L changedA0
(result register)I think we should allow all
syscall
that changed result register implicitly.The text was updated successfully, but these errors were encountered: