]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: make asmidx error less cryptic
authorAustin Clements <austin@google.com>
Fri, 6 Sep 2024 11:19:18 +0000 (07:19 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 1 Oct 2024 23:32:21 +0000 (23:32 +0000)
commit8c52cd3da550f5315c32bdcb9442ac50e3e4ec96
tree64e24370078bd027da0febc3da92071540293b91
parent441770461f5ed7a042b79a8e092c53e8ab393f3e
cmd/internal/obj: make asmidx error less cryptic

It's still pretty cryptic, but at least now instead of printing

    asm: asmidx: bad address 0/2067/2068

it will print

    asm: asmidx: bad address 0/BX/SP

Change-Id: I1c73c439c94c5b9d3039728db85102a818739db9
Reviewed-on: https://go-review.googlesource.com/c/go/+/611256
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Austin Clements <austin@google.com>
src/cmd/internal/obj/x86/asm6.go