Commit 169155d6 authored by Alessandro Arzilli's avatar Alessandro Arzilli Committed by Than McIntosh
Browse files

cmd/compile: preserve argument order in debug_info

When regabi is used sorting by stack offset will not preserve the order
of function arguments. Trust that variables are already ordered
correctly when creating debug_info entries.

Fixes #45720

Change-Id: I1dbdd185975273f70244a23302d34f082347603d
Reviewed-on: https://go-review.googlesource.com/c/go/+/315280


Reviewed-by: default avatarThan McIntosh <thanm@google.com>
Trust: Jeremy Faller <jeremy@golang.org>
parent 472f519f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment